[ 
https://issues.apache.org/jira/browse/ARROW-1710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16218606#comment-16218606
 ] 

Wes McKinney commented on ARROW-1710:
-------------------------------------

See https://github.com/apache/arrow/blob/master/format/Layout.md#null-bitmaps. 
"Arrays having a 0 null count may choose to not allocate the null bitmap.". So 
when there are no nulls, it is not necessary to create a BitVector. It is also 
not necessary to populate the bit vector, so as you say waiting until the first 
null to create the bitmap might be the way to go.

> [Java] Decide what to do with non-nullable vectors in new vector class 
> hierarchy 
> ---------------------------------------------------------------------------------
>
>                 Key: ARROW-1710
>                 URL: https://issues.apache.org/jira/browse/ARROW-1710
>             Project: Apache Arrow
>          Issue Type: Sub-task
>          Components: Java - Vectors
>            Reporter: Li Jin
>             Fix For: 0.8.0
>
>
> So far the consensus seems to be remove all non-nullable vectors. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to