You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Emilio Lahr-Vivaz (JIRA)" <ji...@apache.org> on 2017/05/10 14:34:04 UTC

[jira] [Commented] (ARROW-999) [Java] Minor types don't account for nullable FieldType flag

    [ 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)