[ 
https://issues.apache.org/jira/browse/ARROW-5205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16849965#comment-16849965
 ] 

Neal Richardson commented on ARROW-5205:
----------------------------------------

See [https://github.com/apache/arrow/pull/4210] for an initial attempt and some 
discussion. Since the C++ library will be handling the local/remote file 
interface, it might make sense to have it either report a better error message 
(which would bubble up to Python, R, et al.) or perhaps just attempt to connect 
to the remote files.

> [Python][C++] Improved error messages when user erroneously uses a non-local 
> resource URI to open a file
> --------------------------------------------------------------------------------------------------------
>
>                 Key: ARROW-5205
>                 URL: https://issues.apache.org/jira/browse/ARROW-5205
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++, Python
>            Reporter: Wes McKinney
>            Assignee: Neal Richardson
>            Priority: Major
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> In a number of places if a string filepath is passed, it is assumed to be a 
> local file. Since we are developing better support for file URIs, we may be 
> able to detect that the user has passed an unsupported URI (e.g. something 
> starting with "s3:" or "hdfs:") and return a better error message than "local 
> file not found"
> see
> https://stackoverflow.com/questions/55704943/what-could-be-the-explanation-of-this-pyarrow-lib-arrowioerror/55707311#55707311



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to