[ https://issues.apache.org/jira/browse/ARROW-12466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joris Van den Bossche updated ARROW-12466: ------------------------------------------ Summary: [Python] Comparing array to None causes crash (was: Comparing array to None causes crash) > [Python] Comparing array to None causes crash > --------------------------------------------- > > Key: ARROW-12466 > URL: https://issues.apache.org/jira/browse/ARROW-12466 > Project: Apache Arrow > Issue Type: Bug > Components: Python > Reporter: Alessandro Molina > Priority: Minor > > Seems comparing {{pyarrow}} {{Array}} to {{None}} currently causes a crash > instead of returning {{False}} value > {code:python} > >>> pa.array([]) == None > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "pyarrow/array.pxi", line 1037, in pyarrow.lib.Array._eq_ > except TypeError: > File "pyarrow/array.pxi", line 1042, in > pyarrow.lib.Array.equalsAttributeError: 'NoneType' object has no attribute > 'ap'{code} -- This message was sent by Atlassian Jira (v8.3.4#803005)