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/04 10:12:00 UTC

[jira] [Resolved] (ARROW-12613) [Python] AttributeError when comparing a Scalar with None

     [ https://issues.apache.org/jira/browse/ARROW-12613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joris Van den Bossche resolved ARROW-12613.
-------------------------------------------
    Resolution: Fixed

Issue resolved by pull request 10228
[https://github.com/apache/arrow/pull/10228]

> [Python] AttributeError when comparing a Scalar with None
> ---------------------------------------------------------
>
>                 Key: ARROW-12613
>                 URL: https://issues.apache.org/jira/browse/ARROW-12613
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 4.0.0
>         Environment: Windows 10
> python=3.9.2
> pyarrow=4.0.0
>            Reporter: Sergey Mozharov
>            Assignee: Alessandro Molina
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 5.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {code:java}
> import pyarrow as pa
> arr = pa.array([1, 2])
> arr[0] == None  # -> AttributeError: 'NoneType' object has no attribute 'unwrap'
> {code}



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