Github user icexelloss commented on the issue:
https://github.com/apache/spark/pull/20239
@ueshin and @BryanCutler I took another look and the class `StructAccessor`
defined in `ArrowColumnVector` never gets used for `getStruct`.
`ArrowColumnVector.getStruct()` method just calls `ColumnVector.getStruct()`
which does the right thing. `StructAccessor` is used for `isNullAt` and does
the right thing.
The branch here:
https://github.com/apache/spark/blob/master/sql/core/src/main/java/org/apache/spark/sql/vectorized/ArrowColumnVector.java#L250
does happen. As @BryanCutler mentioned, this is because `MapVector` is a
parent of `NullableMapVector` and `NullableMapVector` is actually the class
gets passed in.
@ueshin with regard to naming, in Arrow 0.8 most "Nullable" prefix to
vector classes are removed with the exception of `MapVector`, which we plan to
clean up in later releases.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]