You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Vladimir Filimonov (Jira)" <ji...@apache.org> on 2019/10/11 08:16:00 UTC
[jira] [Created] (ARROW-6851) Should OSError be FileNotFoundError?
Vladimir Filimonov created ARROW-6851:
-----------------------------------------
Summary: 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
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?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)