RussellSpitzer commented on code in PR #9303: URL: https://github.com/apache/iceberg/pull/9303#discussion_r1427015161
########## spark/v3.5/spark/src/main/java/org/apache/iceberg/spark/actions/SparkSizeBasedDataRewriter.java: ########## @@ -57,7 +60,30 @@ public Set<DataFile> rewrite(List<FileScanTask> group) { doRewrite(groupId, group); - return coordinator.fetchNewFiles(table(), groupId); + Set<DataFile> dataFiles = coordinator.fetchNewFiles(table(), groupId); + + PartitionData partition = (PartitionData) group.get(0).partition(); Review Comment: Probably move this under 66 since this variable is only used in that branch -- 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