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

Emilio Lahr-Vivaz commented on ARROW-999:
-----------------------------------------

So it seems from the layout 
(https://github.com/apache/arrow/blob/master/format/Layout.md) that all vectors 
have a null bitarray, however it doesn't have to be populated if there are no 
null values. So is the intention that the Field nullable flag should just 
control the creation of the null bitarray?

> [Java] Minor types don't account for nullable FieldType flag
> ------------------------------------------------------------
>
>                 Key: ARROW-999
>                 URL: https://issues.apache.org/jira/browse/ARROW-999
>             Project: Apache Arrow
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>            Reporter: Emilio Lahr-Vivaz
>            Assignee: Emilio Lahr-Vivaz
>
> Calling e.g. `FLOAT4.getNewVector("foo", new FieldType(false, ...), ...)" 
> returns a NullableFloat4Vector instead of a Float4Vector.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to