[
https://issues.apache.org/jira/browse/ARROW-4387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17178553#comment-17178553
]
James Walker commented on ARROW-4387:
-------------------------------------
The null bitmap should be accessible via `Data().Buffers()[0].Bytes()`. I
recently tested this in a PR to convert Arrow Tensors to Gorgonia Dense Tensors
([https://github.com/gorgonia/tensor/pull/76]). The null bitmap seems to be
working as intended in that situation.
This may just be an old issue that has been fixed since reported or the ask is
to make the IsNull and IsValid methods available for tensors.
> [Go] tensor doesn't support access to Null bitmap data?
> -------------------------------------------------------
>
> Key: ARROW-4387
> URL: https://issues.apache.org/jira/browse/ARROW-4387
> Project: Apache Arrow
> Issue Type: Bug
> Components: Go
> Affects Versions: 0.12.0
> Environment: n/a
> Reporter: Randall O'Reilly
> Priority: Major
>
> It seems that the tensor interface does not provide access to the Null bitmap
> data in the underlying array. The root cause appears to be that Data does not
> have the null bitmap data and associated IsNull / IsValid methods, and tensor
> only retains the Data and not the Array -- only the array has the actual null
> bitmap and associated methods. So either keeping the array.Interface around
> or moving the null bitmap into Data would seem to be the necessary steps.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)