Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.14.1
Description
When file is absent pyarrow throwsÂ
ArrowIOError('HDFS file does not exist: ...')
which inherits from IOError and pyarrow.lib.ArrowException, it would be better if that was FileNotFoundError a subclass of IOError for this particular purpose. Also, .errno property is empty (should be 2) so one needs to match by error message to check for particular error.
P.S. There is no FileNotFoundError in Python 2, but there is .errno property there.
Attachments
Issue Links
- links to