-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
GH-38844: [C++] S3FileSystem export s3 sdk config "use_virtual_addressing" to arrow::fs::S3Options #38858
Conversation
|
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.
Can we call it force_virtual_hosting
instead of "addressing" like the AWS docs do? [1] I see that the AWS SDK calls it "addressing", but we don't have to use this confusing name in the Arrow interface.
[1] https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html
bb34eac
to
db9e925
Compare
Co-authored-by: Antoine Pitrou <[email protected]>
The widely used boto3 library also uses the term "virtual addressing", so I think it's ok. At worse we can improve the docstring to make things clearer. |
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.
+1, thank you for this @liangjiawei1110 !
After merging your PR, Conbench analyzed the 6 benchmarking runs that have been run so far on merge-commit 501b291. There were no benchmark performance regressions. 🎉 The full Conbench report has more details. It also includes information about 1 possible false positive for unstable benchmarks that are known to sometimes produce them. |
…addressing" to arrow::fs::S3Options (apache#38858) ### Rationale for this change See apache#38844 . we should export s3 sdk config "use_virtual_addressing" to arrow::fs::S3Options so that user can decide whether to use virtual hosted by themselves. ### Are these changes tested? I tested it with my own OSS(aliyun object store service) bucket.As the it is a S3 compatiable service, I think these changes are covered by existing tests) ### Are there any user-facing changes? Closes: apache#38844 * Closes: apache#38844 Lead-authored-by: ljw <[email protected]> Co-authored-by: Antoine Pitrou <[email protected]> Co-authored-by: jiawei liang <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
Rationale for this change
See #38844 . we should export s3 sdk config "use_virtual_addressing" to arrow::fs::S3Options so that user can decide whether to use virtual hosted by themselves.
Are these changes tested?
I tested it with my own OSS(aliyun object store service) bucket.As the it is a S3 compatiable service, I think
these changes are covered by existing tests)
Are there any user-facing changes?
Closes: #38844