You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2021/07/12 22:15:00 UTC

[jira] [Commented] (ARROW-13319) [C++] NullArray::IsNull always returns false and NullArray::IsValid always returns true

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

David Li commented on ARROW-13319:
----------------------------------

Possibly related to/the same as ARROW-12804?

> [C++] NullArray::IsNull always returns false and NullArray::IsValid always returns true
> ---------------------------------------------------------------------------------------
>
>                 Key: ARROW-13319
>                 URL: https://issues.apache.org/jira/browse/ARROW-13319
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 3.0.0, 5.0.0
>            Reporter: Nate Clark
>            Priority: Major
>
> NullArray::SetData sets null_bitmap_data_ to NULLPTR which IsNull and IsValid interpret as all values are not null. However, null_count() and length() will return the same value which makes it seem like IsNull() and IsValid() should return true and false respectively.



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