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

Soroush Radpour commented on ARROW-8580:
----------------------------------------

The context was using petastorm to read parquet files.  I'm mostly concerned 
about the exception reporting. Another example can be see here: 
[https://github.com/uber/petastorm/issues/547]
pyarrow.lib.ArrowIOError: Arrow error: IOError: b''
 
It would be great if arrow would print the full stack trace for the underlying 
exceptions too (IOError in the second case).

> Pyarrow exceptions are not helpful
> ----------------------------------
>
>                 Key: ARROW-8580
>                 URL: https://issues.apache.org/jira/browse/ARROW-8580
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>            Reporter: Soroush Radpour
>            Priority: Major
>
> I'm trying to understand an exception in the code using pyarrow, and it is 
> not very helpful.
> File "pyarrow/_parquet.pyx", line 1036, in pyarrow._parquet.ParquetReader.open
>  File "pyarrow/error.pxi", line 99, in pyarrow.lib.check_status
>  OSError: IOError: b'Service Unavailable'. Detail: Python exception: 
> RuntimeError
>   
>   It would be great if each of the three exceptions was unwrapped with full 
> stack trace and error messages that came with it.



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

Reply via email to