[
https://issues.apache.org/jira/browse/ARROW-11751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17451906#comment-17451906
]
Alessandro Molina commented on ARROW-11751:
-------------------------------------------
This seems now to be invalid
{code:java}
>>> pyarrow.scalar("foo") == None
False {code}
> Testing scalar equality against None causes bus error in python
> ---------------------------------------------------------------
>
> Key: ARROW-11751
> URL: https://issues.apache.org/jira/browse/ARROW-11751
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 3.0.0
> Environment: OS X/ py 3.8.5 / pa 3.0.0
> Reporter: Ben Schmidt
> Priority: Minor
>
> When attempting to test equality of a pa.scalar to the value None in pyarrow,
> I receive a bus error and the process exits entirely. Carries for both string
> and numeric scalars, but otherwise no idea of the cause, solution, or scope,
> just reporting. Present on two different machines. Happy to give more details
> if the code below is not reproducible.
>
> {code:java}
> import pyarrow as pa
> g = pa.scalar("foo")
> g == None{code}
> {code:java}
> # WITH OUTPUT:
> Python 3.8.5 (default, Sep 4 2020, 02:22:02)
> [Clang 10.0.0 ] :: Anaconda, Inc. on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import pyarrow as pa
> >>> pa.__version__
> '3.0.0'
> >>> g = pa.scalar("foo")
> >>> g == None
> [1] 25176 bus error python
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)