You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Praveen Kumar Desabandu (JIRA)" <ji...@apache.org> on 2019/08/09 10:08:00 UTC
[jira] [Resolved] (ARROW-6145) [Java] UnionVector created by
MinorType#getNewVector could not keep field type info properly
[ https://issues.apache.org/jira/browse/ARROW-6145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Praveen Kumar Desabandu resolved ARROW-6145.
--------------------------------------------
Resolution: Fixed
Fix Version/s: 1.0.0
Issue resolved by pull request 5023
[https://github.com/apache/arrow/pull/5023]
> [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
> Fix For: 1.0.0
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> 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)