Ji Liu created ARROW-6160:
-----------------------------

             Summary: [Java] AbstractStructVector#getPrimitiveVectors fails to 
work with complex child vectors
                 Key: ARROW-6160
                 URL: https://issues.apache.org/jira/browse/ARROW-6160
             Project: Apache Arrow
          Issue Type: Bug
          Components: Java
            Reporter: Ji Liu
            Assignee: Ji Liu


Currently in {{AbstractStructVector#getPrimitiveVectors}}, only struct type 
child vectors will recursively get primitive vectors, other complex type like 
{{ListVector}}, {{UnionVector}} was treated as primitive type and return 
directly.

For example, Struct(List(Int), Struct(Int, Varchar)) {{getPrimitiveVectors}} 
should return {{[IntVector, IntVector, VarCharVector]}} instead of [ListVector, 
IntVector, VarCharVector]



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to