liurenjie1024 commented on code in PR #1117: URL: https://github.com/apache/iceberg-rust/pull/1117#discussion_r2006733628
########## crates/iceberg/src/spec/manifest_list.rs: ########## @@ -590,14 +590,19 @@ impl ManifestFile { self.added_files_count.is_none() || self.added_files_count.unwrap() > 0 } + /// Checks whether this manifest contains entries with DELETED status. + pub fn has_deleted_files(&self) -> bool { + self.deleted_files_count.is_none() || self.deleted_files_count.unwrap() > 0 Review Comment: ```suggestion self.deleted_files_count.map(|c| c > 0).unwrap_or(false) ``` -- 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