rdblue commented on code in PR #4663:
URL: https://github.com/apache/iceberg/pull/4663#discussion_r861415410
##########
spark/v2.4/spark/src/main/java/org/apache/iceberg/spark/SparkValueConverter.java:
##########
@@ -95,6 +107,10 @@ public static Object convert(Type type, Object object) {
}
private static Record convert(Types.StructType struct, Row row) {
+ if (row == null) {
+ return null;
+ }
Review Comment:
This looks reasonable to me.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]