You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2021/05/03 11:46:00 UTC

[jira] [Commented] (ARROW-12586) comparing a None element in a pa array to python None gives segmentation fault

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

Joris Van den Bossche commented on ARROW-12586:
-----------------------------------------------

[~zhangyingmath] thanks for the report. That's certainly not intended. In the latest version, this no longer gives a segfault, but raises an AttributeError. This is also not intended, but then it is the same as just reported in ARROW-12613, so closing this as a duplicate of ARROW-12613

> comparing a None element in a pa array to python None gives segmentation fault
> ------------------------------------------------------------------------------
>
>                 Key: ARROW-12586
>                 URL: https://issues.apache.org/jira/browse/ARROW-12586
>             Project: Apache Arrow
>          Issue Type: Bug
>            Reporter: Ying Zhang
>            Priority: Major
>
> I am using python 3.7, pyarrow version 3.0.0.
> import pyarrow as pa
> arr = pa.array([1,2,None])
> arr[2] == None
> gives segmentation fault. Is this intended?



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