This is an automated email from the ASF dual-hosted git repository.

xuanwo 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 bd9eea1  feat(table): Add debug and clone trait to static table struct 
(#510)
bd9eea1 is described below

commit bd9eea17e5c4c0203d46f97976fafd00f89be775
Author: Andre Luis Anastacio <[email protected]>
AuthorDate: Wed Jul 31 08:15:53 2024 -0300

    feat(table): Add debug and clone trait to static table struct (#510)
---
 crates/iceberg/src/table.rs | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/crates/iceberg/src/table.rs b/crates/iceberg/src/table.rs
index b9a7011..d28d6e5 100644
--- a/crates/iceberg/src/table.rs
+++ b/crates/iceberg/src/table.rs
@@ -104,6 +104,7 @@ impl Table {
 ///     .snapshot_id();
 /// # }
 /// ```
+#[derive(Debug, Clone)]
 pub struct StaticTable(Table);
 
 impl StaticTable {
@@ -144,9 +145,9 @@ impl StaticTable {
         self.0.metadata_ref()
     }
 
-    /// Consumes the `StaticTable` and return it as a `Table`    
-    /// Please use this method carefully as the Table it returns remains 
detached from a catalog     
-    /// and can't be used to perform modifications on the table.     
+    /// Consumes the `StaticTable` and return it as a `Table`
+    /// Please use this method carefully as the Table it returns remains 
detached from a catalog
+    /// and can't be used to perform modifications on the table.
     pub fn into_table(self) -> Table {
         self.0
     }

Reply via email to