Fokko commented on code in PR #799: URL: https://github.com/apache/iceberg-rust/pull/799#discussion_r1886823887
########## crates/iceberg/src/spec/table_metadata_builder.rs: ########## @@ -524,6 +526,52 @@ impl TableMetadataBuilder { self } + /// Set statistics for a snapshot + pub fn set_statistics(mut self, statistics: StatisticsFile) -> Self { + self.metadata + .statistics + .insert(statistics.snapshot_id, statistics.clone()); Review Comment: Do we want to check if a `snapshot-id` exists? -- 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