[
https://issues.apache.org/jira/browse/ARROW-5354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17662376#comment-17662376
]
Rok Mihevc commented on ARROW-5354:
-----------------------------------
This issue has been migrated to [issue
#21813|https://github.com/apache/arrow/issues/21813] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [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)