This is an automated email from the ASF dual-hosted git repository.
liurenjie1024 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-rust.git
The following commit(s) were added to refs/heads/main by this push:
new 0c44e50d feat: Expose ManifestEntry status (#681)
0c44e50d is described below
commit 0c44e50dc08f44601ea2530311aed5222a810f87
Author: Zachary Heilbron <[email protected]>
AuthorDate: Thu Oct 24 23:09:41 2024 -1000
feat: Expose ManifestEntry status (#681)
Co-authored-by: Renjie Liu <[email protected]>
---
crates/iceberg/src/spec/manifest.rs | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/crates/iceberg/src/spec/manifest.rs
b/crates/iceberg/src/spec/manifest.rs
index f0dfdf47..997908d5 100644
--- a/crates/iceberg/src/spec/manifest.rs
+++ b/crates/iceberg/src/spec/manifest.rs
@@ -850,6 +850,11 @@ impl ManifestEntry {
)
}
+ /// Status of this manifest entry
+ pub fn status(&self) -> ManifestStatus {
+ self.status
+ }
+
/// Content type of this manifest entry.
#[inline]
pub fn content_type(&self) -> DataContentType {