You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/09/28 13:19:11 UTC
[GitHub] [arrow-rs] andygrove opened a new issue, #2799: Cannot query S3 paths containing whitespace
andygrove opened a new issue, #2799:
URL: https://github.com/apache/arrow-rs/issues/2799
**Describe the bug**
I cannot register a path containing a space.
```
create external table test2 stored as parquet location 's3://andygrove-benchmark-data/trip data/yellow_tripdata_2022-06.parquet';
ObjectStore(NotFound { path: "trip%20data/yellow_tripdata_2022-06.parquet"
```
It works if I change the path to not have spaces:
```
create external table test stored as parquet location 's3://andygrove-benchmark-data/trip_data/yellow_tripdata_2022-06.parquet';
0 rows in set. Query took 0.429 seconds.
```
**To Reproduce**
Steps to reproduce the behavior:
**Expected behavior**
A clear and concise description of what you expected to happen.
**Additional context**
Add any other context about the problem here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-rs] tustvold commented on issue #2799: Cannot query S3 paths containing whitespace
Posted by GitBox <gi...@apache.org>.
tustvold commented on issue #2799:
URL: https://github.com/apache/arrow-rs/issues/2799#issuecomment-1260980753
There is a somewhat related issue I ran into when playing with this, but you most definitely can create, read, etc... objects with paths containing spaces - https://github.com/apache/arrow-rs/issues/2800
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-rs] andygrove commented on issue #2799: Cannot query S3 paths containing whitespace
Posted by GitBox <gi...@apache.org>.
andygrove commented on issue #2799:
URL: https://github.com/apache/arrow-rs/issues/2799#issuecomment-1260921281
We should add least add a check and throw an error? The S3 error response is somewhat obscure.
It will be a shame if DataFusion and Ballista cannot support querying certain public data sets like nyc-tlc because they have spaces in paths. Other query engines support it. One example: https://coiled.io/blog/nyc-taxi-parquet-csv-index-error/
I will plan on digging into this more soon to understand the issue better.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-rs] andygrove commented on issue #2799: Cannot query S3 paths containing whitespace
Posted by GitBox <gi...@apache.org>.
andygrove commented on issue #2799:
URL: https://github.com/apache/arrow-rs/issues/2799#issuecomment-1260904179
@tustvold Here is another potential object store bug that I found
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-rs] tustvold commented on issue #2799: Cannot query S3 paths containing whitespace
Posted by GitBox <gi...@apache.org>.
tustvold commented on issue #2799:
URL: https://github.com/apache/arrow-rs/issues/2799#issuecomment-1260927567
> We should add least add a check and throw an error?
Agreed, I would have expected DataFusion to refuse that query as the parquet location is not a valid URL. Possibly ObjectStoreUrl is escaping rather than parsing.
> It will be a shame if DataFusion and Ballista cannot support querying certain public data sets
I welcome alternative suggestions for how to handle path escaping
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-rs] tustvold commented on issue #2799: Cannot query S3 paths containing whitespace
Posted by GitBox <gi...@apache.org>.
tustvold commented on issue #2799:
URL: https://github.com/apache/arrow-rs/issues/2799#issuecomment-1260908418
This is sadly expected, https://docs.rs/object_store/latest/object_store/path/struct.Path.html#path-safety, I'm not really sure what can be done about this...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-rs] tustvold commented on issue #2799: Cannot query S3 paths containing whitespace
Posted by GitBox <gi...@apache.org>.
tustvold commented on issue #2799:
URL: https://github.com/apache/arrow-rs/issues/2799#issuecomment-1260944307
Actually looking into this, we don't disallow spaces in paths, I think this might be a DataFusion bug :thinking:
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-rs] tustvold closed issue #2799: Cannot query S3 paths containing whitespace
Posted by GitBox <gi...@apache.org>.
tustvold closed issue #2799: Cannot query S3 paths containing whitespace
URL: https://github.com/apache/arrow-rs/issues/2799
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Cannot query S3 paths containing whitespace [arrow-rs]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #2799:
URL: https://github.com/apache/arrow-rs/issues/2799#issuecomment-2741686719
Migrating from arrow-rs issue [#2799](https://github.com/apache/arrow-rs/issues/2799)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-rs] andygrove commented on issue #2799: Cannot query S3 paths containing whitespace
Posted by GitBox <gi...@apache.org>.
andygrove commented on issue #2799:
URL: https://github.com/apache/arrow-rs/issues/2799#issuecomment-1260937699
Perhaps some kind of user-provided config to override the default behavior? I will take a look this weekend.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-rs] tustvold commented on issue #2799: Cannot query S3 paths containing whitespace
Posted by GitBox <gi...@apache.org>.
tustvold commented on issue #2799:
URL: https://github.com/apache/arrow-rs/issues/2799#issuecomment-1278247095
I think this was fixed by #2801
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org