-
Notifications
You must be signed in to change notification settings - Fork 518
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
Auto get the bucket region if the region is empty #37
Labels
enhancement
New feature or request
Comments
|
If we do it in the frontend(like Interpreter), we should import the s3 crate and call Looks better to do it in the dal, what's your thoughts? cc @Xuanwo |
Yep, opendal will add support for this. |
This was referenced Feb 22, 2022
Duplicated with #56 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For s3, there are 3 styles URL:
https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-bucket-intro.html
The last is
S3://bucket-name/key-name
, the bucket name does not include the AWS Region.In OpenDAL:
If we not set the region, it would be better to get it:
https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketLocation.html
This is used by databendlabs/databend#3586:
The text was updated successfully, but these errors were encountered: