Github user ueshin commented on a diff in the pull request: https://github.com/apache/spark/pull/20438#discussion_r164717772 --- Diff: sql/core/src/main/java/org/apache/spark/sql/vectorized/ColumnVector.java --- @@ -195,6 +196,7 @@ * struct field. */ public final ColumnarRow getStruct(int rowId) { + if (isNullAt(rowId)) return null; --- End diff -- Good catch!
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org