Benjamin Kietzman created ARROW-5354:
----------------------------------------
Summary: [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: Benjamin Kietzman
Assignee: Benjamin Kietzman
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
(v7.6.3#76005)