[ 
https://issues.apache.org/jira/browse/ARROW-6851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antoine Pitrou updated ARROW-6851:
----------------------------------
    Component/s: C++

> Should OSError be FileNotFoundError?
> ------------------------------------
>
>                 Key: ARROW-6851
>                 URL: https://issues.apache.org/jira/browse/ARROW-6851
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++, Python
>    Affects Versions: 0.15.0
>            Reporter: Vladimir Filimonov
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> On the read_table function - if the file is not found, an OSError ("Passed 
> non-file path") is raised:
> {code:java}
> import pyarrow.parquet as pq
> pq.read_table('example.parquet')
> {code}
> Should it rather be FileNotFoundError which is more standard in such 
> situations?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to