Repository navigation
Backport #109768 to 26.5: Mask session_token and Google ADC secrets in the explicit-url S3 form - #112322
Merged
Conversation
…n the explicit-url S3 form
Contributor
|
Workflow [BackportPR], commit [2bfaba7] Summary: ✅ |
DatabaseS3.cpp/.h still had addTable() and a loaded_tables-based cache in getTableImpl(), which the PR's own hunk left dangling once it removed the loaded_tables field (undeclared identifier). Removed them, matching master's "not cached across sessions" design. The new 04510_s3_explicit_url_named_secret_mask test also exercised use_environment_credentials on the S3 database engine, which this branch's DatabaseS3 does not support; dropped that assertion.
…e table functions
A duplicated key-value argument such as
s3('http://...', format = 'CSV', format = 'TSV') is user-controlled input,
but parseKeyValueArguments threw LOGICAL_ERROR on the duplicate-key emplace.
LOGICAL_ERROR aborts debug builds and is treated as a critical failure by
stress and fuzzer checks, so a user typo must not produce it.
Backport of 4939661 (already applied to the
26.4 private backport), needed here too since the new secret-masking tests
from #109768 exercise this exact duplicate-key path.
Closes: #104267
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Original pull-request #109768
Cherry-pick pull-request #112291
This pull-request is a last step of an automated backporting.
Treat it as a standard pull-request: look at the checks and resolve conflicts.
Merge it only if you intend to backport changes to the target branch, otherwise just close it.
The PR source
The PR is created in the CI job
Version info
26.5.6.87