You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/08/06 12:03:00 UTC
[jira] [Updated] (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 ]
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)