a-agmon commented on code in PR #284: URL: https://github.com/apache/iceberg-rust/pull/284#discussion_r1531518572
########## crates/iceberg/src/spec/manifest.rs: ########## @@ -1052,6 +1052,89 @@ pub struct DataFile { pub(crate) sort_order_id: Option<i32>, } +impl DataFile { + /// Get the content type of the data file (data, equality deletes, or position deletes) + pub fn content(&self) -> DataContentType { Review Comment: Thanks @liurenjie1024 , You mean to `#[inline]` all pub methods on DataFile? I actually thought about this, but then saw that inline was not used on other pub struct methods (such as Table, Namespace, etc) so preferred to maintain consistency. If you think its better then I will do 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