Skip to content

How to read delta lake table via an s3 bucket #1165

Answered by roeap
finlaydotb asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @finlaydotb,

Working against an emulated service requires a bit more configuration, and we should update the docs to reflect that. Specifically, you can either set some configuration in the environment, or pass it explitily by using open_table_with_storage_options.

Looking at your example code, it would likely look something like this.

storage_options = HashMap::from([
    ("allow_http", "true"),
    ("endpoint_url", "http://127.0.0.1:9000"),
    ("access_key_id", "some id"),
    ("access_key_secret", "some secret")
]);

The actual error you are seeing is a different one though. Essentially the underlying object store tries to use the the metadata endpoint to fetch an access token, whic…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@roeap
Comment options

@finlaydotb
Comment options

@roeap
Comment options

@finlaydotb
Comment options

@roeap
Comment options

Answer selected by finlaydotb
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants