You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2021/03/22 16:44:00 UTC

[jira] [Closed] (ARROW-6851) [Python] Should OSError be FileNotFoundError?

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

Antoine Pitrou closed ARROW-6851.
---------------------------------
    Resolution: Duplicate

This was actually implemented in ARROW-7282. Sorry for missing this issue.

> [Python] 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
>
> 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)