Skip to content
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

How to access a bucket using S3:// uri? #36

Closed
BohuTANG opened this issue Feb 20, 2022 · 1 comment
Closed

How to access a bucket using S3:// uri? #36

BohuTANG opened this issue Feb 20, 2022 · 1 comment

Comments

@BohuTANG
Copy link

From the PR:
https://github.com/datafuselabs/databend/pull/4170/files#diff-dc7428e39de9915b0830549374e55e143995149f2a90303d38e4017d014d2fc2R79-R84

The file_location is s3://databend-external/t_ontime/t_ontime.csv, opendal stat will return Unexpected("s3://databend-external/t_ontime/t_ontime.csv").

@BohuTANG
Copy link
Author

Looks we should do a convert:

# s3://example-bucket/path/to/object
http(s)://example-bucket.s3.amazonaws.com/path/to/object
http(s)://s3.amazonaws.com/example-bucket/path/to/object

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant