[
https://issues.apache.org/jira/browse/ARROW-6145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated ARROW-6145:
----------------------------------
Labels: pull-request-available (was: )
> [Java] UnionVector created by MinorType#getNewVector could not keep field
> type info properly
> --------------------------------------------------------------------------------------------
>
> Key: ARROW-6145
> URL: https://issues.apache.org/jira/browse/ARROW-6145
> Project: Apache Arrow
> Issue Type: Bug
> Components: Java
> Reporter: Ji Liu
> Assignee: Ji Liu
> Priority: Minor
> Labels: pull-request-available
>
> When I worked for other items, I found {{UnionVector}} created by
> {{VectorSchemaRoot#create(Schema schema, BufferAllocator allocator)}} could
> not keep field type info properly. For example, if we set metadata in
> {{Field}} in schema, we could not get it back by {{UnionVector#getField}}.
> This is mainly because {{MinorType.Union.getNewVector}} did not pass
> {{FieldType}} to vector and {{UnionVector#getField}} create a new {{Field}}
> which cause inconsistent.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)