gaborkaszab commented on code in PR #16285:
URL: https://github.com/apache/iceberg/pull/16285#discussion_r3466345086
##########
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:
You're right! I was overly cautious here, no copy is needed.
Removed the copy, just cast `value` to `List<ColumnFile>` for assignment.
--
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]