aokolnychyi commented on code in PR #9629: URL: https://github.com/apache/iceberg/pull/9629#discussion_r1476864901
########## core/src/main/java/org/apache/iceberg/PartitionData.java: ########## @@ -171,6 +169,10 @@ public PartitionData copy() { return new PartitionData(this); } + public PartitionData copyFor(StructLike partition) { Review Comment: An alternative to this is to create a new `StructLike` class simply backed by an array and populate it in the table scan utility. I went with this approach because we do a similar trick in other places. -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org