You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
When trying to read from a table path with a space in the name, it fails.
Err(NotATable("no log files"))
What you expected to happen:
Expected the table to be read as normal.
How to reproduce it:
Create a table with a space in the path, ie at "s3a://testbucket/data/test1 /"
Then run:
`
let storage_options: HashMap<String, String> = ...
deltalake::aws::register_handlers(None);
let table_filepath = "s3a://testbucket/data/test1 /";
let mut table = deltalake::open_table_with_storage_options(
table_filepath,
storage_options,
)
.await;
println!("Table result: {:?}", table);
`
More details:
Looked into what is happening here a little. It seems like we URL encode the path right away, so the above example becomes s3a://testbucket/data/test1%20/. Then, we pass this to the S3 client (object_store-0.7.1/src/aws/client.rs) which passes "data/test1%20" as part of its API call, but that S3 API does not expect a URL encoded string.
The text was updated successfully, but these errors were encountered:
Environment
Delta-rs version:
0.17.0 (and earlier)
Binding:
Rust
Environment:
Bug
What happened:
When trying to read from a table path with a space in the name, it fails.
Err(NotATable("no log files"))
What you expected to happen:
Expected the table to be read as normal.
How to reproduce it:
Create a table with a space in the path, ie at "s3a://testbucket/data/test1 /"
Then run:
`
`
More details:
Looked into what is happening here a little. It seems like we URL encode the path right away, so the above example becomes s3a://testbucket/data/test1%20/. Then, we pass this to the S3 client (object_store-0.7.1/src/aws/client.rs) which passes "data/test1%20" as part of its API call, but that S3 API does not expect a URL encoded string.
The text was updated successfully, but these errors were encountered: