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: [email protected]
For additional commands, e-mail: [email protected]