Commits


tianchen authored and Wes McKinney committed 062cc701394
ARROW-6160: [Java] AbstractStructVector#getPrimitiveVectors fails to work with complex child vectors Related to [ARROW-6160](https://issues.apache.org/jira/browse/ARROW-6160). 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] Closes #5031 from tianchen92/ARROW-6160 and squashes the following commits: 182630ee2 <tianchen> fix aef8c4a31 <tianchen> ARROW-XXXX: AbstractStructVector#getPrimitiveVectors fails to work with complex child vectors Authored-by: tianchen <niki.lj@alibaba-inc.com> Signed-off-by: Wes McKinney <wesm+git@apache.org>