RussellSpitzer commented on a change in pull request #2591:
URL: https://github.com/apache/iceberg/pull/2591#discussion_r665614086
##########
File path:
spark3/src/main/java/org/apache/iceberg/spark/FileRewriteCoordinator.java
##########
@@ -71,6 +72,8 @@ public void commitRewrite(Table table, Set<String>
fileSetIDs) {
table.newRewrite()
.rewriteFiles(rewrittenDataFiles, newDataFiles)
.commit();
+
+ fileSetIDs.stream().map(id -> toID(table, id)).forEach(resultMap::remove);
Review comment:
As noted above I think we'll do a separate PR to clean up this file post
merge.
--
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]