[
https://issues.apache.org/jira/browse/ARROW-5354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rok Mihevc updated ARROW-5354:
------------------------------
External issue URL: https://github.com/apache/arrow/issues/21813
> [C++] allow Array to have null buffers when all elements are null
> -----------------------------------------------------------------
>
> Key: ARROW-5354
> URL: https://issues.apache.org/jira/browse/ARROW-5354
> Project: Apache Arrow
> Issue Type: New Feature
> Components: C++
> Reporter: Ben Kietzman
> Assignee: Ben Kietzman
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> In the case of all elements of an array being null, no buffers whatsoever
> *need* to be allocated (similar to NullArray). This is a more extreme case of
> the optimization which allows the null bitmap buffer to be null if all
> elements are valid. Currently {{arrow::Array}} requires at least a null
> bitmap buffer to be allocated (and all bits set to 0).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)