You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Ji Liu (JIRA)" <ji...@apache.org> on 2019/08/06 12:00:00 UTC
[jira] [Created] (ARROW-6145) [Java] UnionVector created by
MinorType#getNewVector could not keep field type info properly
Ji Liu created ARROW-6145:
-----------------------------
Summary: [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
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)