You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Nate Clark (Jira)" <ji...@apache.org> on 2021/07/12 23:28:00 UTC
[jira] [Closed] (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:all-tabpanel ]
Nate Clark closed ARROW-13319.
------------------------------
Resolution: Duplicate
> [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)