[ 
https://issues.apache.org/jira/browse/ARROW-7282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16985749#comment-16985749
 ] 

Scott Gigante commented on ARROW-7282:
--------------------------------------

You're right, I was wrong about #1. Must have accidentally run my FileNotFound 
test twice. I'll edit the description.

> [Python] IOError subclassing
> ----------------------------
>
>                 Key: ARROW-7282
>                 URL: https://issues.apache.org/jira/browse/ARROW-7282
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 0.15.1
>         Environment: Arch Linux, Python 3.7
>            Reporter: Scott Gigante
>            Priority: Minor
>              Labels: exception-reporting, pyarrow
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> I get the following error when trying to open a file that does not exist.
>  
> ```
> pyarrow.lib.ArrowIOError: Failed to open local file 'filename', error: No 
> such file or directory
> ```
>  
> Two issues here:
>  # pyarrow.lib.ArrowIOError doesn't inherit from Python IOError
>  # This particular error should also subclass from Python FileNotFoundError



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to