You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Li Jin (Jira)" <ji...@apache.org> on 2022/07/29 15:02:00 UTC

[jira] [Commented] (ARROW-17253) Pyarrow array crashes the interpreter when encounter 0 division error

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

Li Jin commented on ARROW-17253:
--------------------------------

I think in general, any exception raised by the generator would crash the python interpreter when passing to pa.array

> Pyarrow array crashes the interpreter when encounter 0 division error  
> -----------------------------------------------------------------------
>
>                 Key: ARROW-17253
>                 URL: https://issues.apache.org/jira/browse/ARROW-17253
>             Project: Apache Arrow
>          Issue Type: Bug
>            Reporter: Li Jin
>            Priority: Major
>
> {code:java}
> pa.array(1 // 0 for x in range(10), size=10){code}
> This would crash the python interpreter 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)