[
https://issues.apache.org/jira/browse/ARROW-6851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladimir Filimonov updated ARROW-6851:
--------------------------------------
Description:
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?
was:
On the read_table function - if the file is not found, a OSError 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?
> Should OSError be FileNotFoundError?
> ------------------------------------
>
> Key: ARROW-6851
> URL: https://issues.apache.org/jira/browse/ARROW-6851
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Affects Versions: 0.15.0
> Reporter: Vladimir Filimonov
> Priority: Minor
>
> 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)