You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2019/10/11 14:52:00 UTC

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

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

Wes McKinney updated ARROW-6851:
--------------------------------
    Summary: [Python] Should OSError be FileNotFoundError?  (was: Should OSError be FileNotFoundError?)

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