-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Add support for ACL config in native S3 file system #21176
Add support for ACL config in native S3 file system #21176
Conversation
e8de3f5
to
e7b9117
Compare
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.
Let's remove the custom signer commit. We don't want to load arbitrary classes, plus there is the problem of how a user would actually use the feature and provide configuration. Is there a specific use case for this?
lib/trino-filesystem-s3/src/main/java/io/trino/filesystem/s3/S3FileSystemConfig.java
Outdated
Show resolved
Hide resolved
lib/trino-filesystem-s3/src/main/java/io/trino/filesystem/s3/S3FileSystemConfig.java
Outdated
Show resolved
Hide resolved
e7b9117
to
09a07e7
Compare
I removed it from this PR. Im yet to hear on the actual use-case for custom signer. |
lib/trino-filesystem-s3/src/main/java/io/trino/filesystem/s3/S3FileSystemConfig.java
Outdated
Show resolved
Hide resolved
lib/trino-filesystem-s3/src/main/java/io/trino/filesystem/s3/S3FileSystemConfig.java
Outdated
Show resolved
Hide resolved
lib/trino-filesystem-s3/src/main/java/io/trino/filesystem/s3/S3OutputStream.java
Outdated
Show resolved
Hide resolved
lib/trino-filesystem-s3/src/main/java/io/trino/filesystem/s3/S3Context.java
Outdated
Show resolved
Hide resolved
...cker/presto-product-tests/conf/environment/singlenode-delta-lake-databricks/delta.properties
Outdated
Show resolved
Hide resolved
648840a
to
425ac97
Compare
/test-with-secrets sha=425ac97974b1f88bfbc2a3e8d9e3aafd5d9bef7e |
The CI workflow run with tests that require additional secrets has been started: https://github.com/trinodb/trino/actions/runs/8395787086 |
lib/trino-filesystem-s3/src/main/java/io/trino/filesystem/s3/S3FileSystemConfig.java
Show resolved
Hide resolved
.../docker/presto-product-tests/conf/environment/multinode-databricks-http-hms/delta.properties
Show resolved
Hide resolved
...cker/presto-product-tests/conf/environment/singlenode-delta-lake-databricks/delta.properties
Outdated
Show resolved
Hide resolved
lib/trino-filesystem-s3/src/main/java/io/trino/filesystem/s3/S3FileSystemConfig.java
Show resolved
Hide resolved
lib/trino-filesystem-s3/src/main/java/io/trino/filesystem/s3/S3FileSystemConfig.java
Show resolved
Hide resolved
425ac97
to
95f1e3a
Compare
lib/trino-filesystem-s3/src/main/java/io/trino/filesystem/s3/S3OutputStream.java
Show resolved
Hide resolved
lib/trino-filesystem-s3/src/main/java/io/trino/filesystem/s3/S3OutputStream.java
Show resolved
Hide resolved
95f1e3a
to
3ed1e15
Compare
lib/trino-filesystem-s3/src/main/java/io/trino/filesystem/s3/S3OutputStream.java
Outdated
Show resolved
Hide resolved
lib/trino-filesystem-s3/src/main/java/io/trino/filesystem/s3/S3FileSystemConfig.java
Outdated
Show resolved
Hide resolved
} | ||
|
||
@Config("s3.canned-acl") | ||
@ConfigDescription("Canned ACL (predefined grants) to manage access to buckets and objects") |
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.
Remove "buckets" since in this context it's only relevant for objects (canned ACLs can also be set at the bucket level but we're not doing that here)
Canned ACL (predefined grants) to manage access to objects
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.
Sorry, looks like this one was not updated
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.
Sorry . missed it. updated now
...cker/presto-product-tests/conf/environment/singlenode-delta-lake-databricks/delta.properties
Outdated
Show resolved
Hide resolved
3ed1e15
to
0a6825e
Compare
/test-with-secrets sha=0a6825ecec58fea7b6fce8fb8a1218579b756bcd |
The CI workflow run with tests that require additional secrets has been started: https://github.com/trinodb/trino/actions/runs/8427028437 |
0a6825e
to
0d2ba4d
Compare
Description
Additional context and related issues
Release notes
( ) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
(X) Release notes are required, with the following suggested text: