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

ASF GitHub Bot commented on ARROW-2390:
---------------------------------------

pitrou opened a new pull request #1916: ARROW-2390: [C++/Python] Map Python 
exceptions to Arrow status codes
URL: https://github.com/apache/arrow/pull/1916
 
 
   Instead of always returning an "unknown error" status code when a Python 
exception is raised, we can easily discriminate and return e.g. a TypeError 
status code when a Python TypeError is raised, etc.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> [C++/Python] CheckPyError() could inspect exception type
> --------------------------------------------------------
>
>                 Key: ARROW-2390
>                 URL: https://issues.apache.org/jira/browse/ARROW-2390
>             Project: Apache Arrow
>          Issue Type: Wish
>          Components: C++, Python
>    Affects Versions: 0.9.0
>            Reporter: Antoine Pitrou
>            Priority: Major
>              Labels: pull-request-available
>
> Current {{CheckPyError}} always chooses an "unknown error" status. But it 
> could inspect the Python exception and choose, e.g. "type error" for a 
> {{TypeError}} exception, etc.
> See also ARROW-2389



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to