Github user cloud-fan commented on a diff in the pull request: https://github.com/apache/spark/pull/19601#discussion_r147578474 --- Diff: sql/core/src/main/java/org/apache/spark/sql/execution/vectorized/ColumnVector.java --- @@ -367,9 +551,13 @@ public Object get(int ordinal, DataType dataType) { /** * Returns the array at rowid. */ - public final ColumnVector.Array getArray(int rowId) { - resultArray.length = getArrayLength(rowId); - resultArray.offset = getArrayOffset(rowId); + public final ArrayData getArray(int rowId) { --- End diff -- We should not change the return type. `ColumnVector` will be public eventually, and `ArrayData` is not a public type.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org