guykhazma commented on code in PR #10935: URL: https://github.com/apache/iceberg/pull/10935#discussion_r2076587215
########## spark/v3.5/spark/src/main/java/org/apache/iceberg/spark/source/ChangelogRowReader.java: ########## @@ -170,4 +240,10 @@ private static Stream<ContentFile<?>> addedRowsScanTaskFiles(AddedRowsScanTask t List<DeleteFile> deletes = task.deletes(); return Stream.concat(Stream.of(file), deletes.stream()); } + + private static Stream<ContentFile<?>> deletedRowsScanTaskFiles(DeletedRowsScanTask task) { + DataFile file = task.file(); + List<DeleteFile> deletes = task.addedDeletes(); Review Comment: Hi @wypoon, We noticed that in a case where we had a custom writer which was creating an overwrite snapshot that contained new delete files as well as adding new data. The delete files in this case were both from the snapshot and existing ones. -- 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