-
Notifications
You must be signed in to change notification settings - Fork 702
feat(services/s3): support default_region, server_side_encryption_bucket_key and skip_signature for Arrow object_store compatibility #6531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jackye1995
wants to merge
11
commits into
apache:main
Choose a base branch
from
jackye1995:s3-missing-features
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
f2ff85b
feat(services/s3): Add missing S3 features based on object_store impl…
jackye1995 206ec60
feat(services/s3): Add object_store-compatible configuration aliases
jackye1995 4f529e9
refactor(services/s3): Split combined test into individual feature tests
jackye1995 b8f738e
refactor(services/s3): Clean up config aliases and remove disable_tag…
jackye1995 477e7f5
chore(services/s3): Remove S3 tagging TODO comments
jackye1995 f6a1b6a
fix(services/s3): Fix clippy bool-assert-comparison warnings
jackye1995 ff90cef
refactor(services/s3): Remove enable_imdsv1_fallback and make enable_…
jackye1995 b039d23
refactor(services/s3): Remove enable_skip_signature and enable_unsign…
jackye1995 4c3def3
refactor(services/s3): Remove duplicate fields skip_signature and buc…
jackye1995 0c13b39
refactor(services/s3): Clean up bucket key methods and remove unneces…
jackye1995 0b0808f
fmt
jackye1995 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm hesitant about this because OpenDAL tends to maintain configuration values in an orthogonal way, meaning each configuration value controls only a single feature. Users don't need to worry about the interactions between configuration values.
But I do understand the value of be compatible to those object_store options. Is it a good idea to add those mapping in to
object_store_opendal? What do you think?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think for the 3 configs here, they are a bit different:
enable_server_side_encryption_bucket_keyseems to be a missing feature currently in OpenDAL S3, it adds the headerx-amz-server-side-encryption-bucket-key-enabledto the request, where user can directly configure a bucket key for the entire bucket, and then use this API key to use that pre-configured key.default_regiongives a default in region resolution process, so it is only used when there is no other environment configurations that can resolve a regionThese 2 are independent configs orthogonal to other existing configurations in OpenDAL-S3.
skip_signatureas you suggested is just an alias ofallow_anonymousso it was just a missed configuration mapping in the last PR.