wypoon commented on code in PR #10935: URL: https://github.com/apache/iceberg/pull/10935#discussion_r2076563323
########## 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 @guykhazma. I believe you're right. The DeletedRowsScanTask references the existing deletes as well as the added deletes. Can you elaborate on the situation in which you encounter NPEs? -- 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