RussellSpitzer commented on code in PR #16285:
URL: https://github.com/apache/iceberg/pull/16285#discussion_r3461238871


##########
core/src/main/java/org/apache/iceberg/TrackedFileStruct.java:
##########
@@ -364,11 +380,22 @@ protected <T> void internalSet(int pos, T value) {
       case 15:
         this.equalityIds = ArrayUtil.toIntArray((List<Integer>) value);
         break;
+      case 16:
+        this.columnFiles = copyColumnFiles((List<ColumnFile>) value);

Review Comment:
   value can be null so we can NPE here. Above here the ArrayUtil method is 
guarding against the null input.
   
   We can either cover the null here or in copyCOlumnFiles
   
   



-- 
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]

Reply via email to