You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2019/09/18 11:08:00 UTC

[jira] [Resolved] (ARROW-5354) [C++] allow Array to have null buffers when all elements are null

     [ https://issues.apache.org/jira/browse/ARROW-5354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Pitrou resolved ARROW-5354.
-----------------------------------
    Resolution: Won't Fix

As discussed in the linked PR, this isn't currently desirable.

> [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
>            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.3.4#803005)