pvary commented on code in PR #13161: URL: https://github.com/apache/iceberg/pull/13161#discussion_r2125702967
########## core/src/main/java/org/apache/iceberg/DeleteFileIndex.java: ########## @@ -454,8 +454,14 @@ private Collection<DeleteFile> loadDeleteFiles() { try (CloseableIterable<ManifestEntry<DeleteFile>> reader = deleteFile) { for (ManifestEntry<DeleteFile> entry : reader) { if (entry.dataSequenceNumber() > minSequenceNumber) { + DeleteFile file = entry.file(); + boolean dropStats = file.content() == FileContent.POSITION_DELETES; // copy with stats for better filtering against data file stats - files.add(entry.file().copy()); + files.add( Review Comment: Maybe fix the comment in the line above this -- 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