Alessandro Molina created ARROW-12466:
-----------------------------------------
Summary: 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
Seems comparing {{pyarrow}} {{Array}} to {{None}} currently causes a crash
instead of returning {{False}} value
>>> 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'
--
This message was sent by Atlassian Jira
(v8.3.4#803005)