nastra commented on code in PR #15616:
URL: https://github.com/apache/iceberg/pull/15616#discussion_r2961388726
##########
spark/v3.5/spark/src/main/java/org/apache/iceberg/spark/actions/RewriteTablePathSparkAction.java:
##########
@@ -313,11 +314,15 @@ private Result rebuildMetadata() {
rewriteManifests(deltaSnapshots, endMetadata, metaFiles);
// rebuild position delete files
+ // Use DeleteFileSet to ensure proper equality comparison based on file
location, content
+ // offset, and content size. This is particularly important for deletion
vectors (DV files)
+ // where the same file can appear with different content, and for avoiding
duplicate
+ // processing of the same delete file that appears in multiple manifests.
Review Comment:
```suggestion
```
--
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]