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

fokko 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 7108b4a  Fix compile failures (#105)
7108b4a is described below

commit 7108b4aedd233c63c746d0d31c15e6551533ebe6
Author: Farooq Qaiser <[email protected]>
AuthorDate: Sat Nov 25 03:21:17 2023 -0500

    Fix compile failures (#105)
---
 crates/catalog/rest/src/catalog.rs | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/crates/catalog/rest/src/catalog.rs 
b/crates/catalog/rest/src/catalog.rs
index 6dbf424..b76268a 100644
--- a/crates/catalog/rest/src/catalog.rs
+++ b/crates/catalog/rest/src/catalog.rs
@@ -1278,7 +1278,10 @@ mod tests {
             uuid!("bf289591-dcc0-4234-ad4f-5c3eed811a29"),
             table.metadata().uuid()
         );
-        assert_eq!(1657810967051, table.metadata().last_updated_ms());
+        assert_eq!(
+            1657810967051,
+            table.metadata().last_updated_ms().timestamp_millis()
+        );
         assert_eq!(
             vec![&Arc::new(
                 Schema::builder()
@@ -1450,7 +1453,10 @@ mod tests {
             uuid!("bf289591-dcc0-4234-ad4f-5c3eed811a29"),
             table.metadata().uuid()
         );
-        assert_eq!(1657810967051, table.metadata().last_updated_ms());
+        assert_eq!(
+            1657810967051,
+            table.metadata().last_updated_ms().timestamp_millis()
+        );
         assert_eq!(
             vec![&Arc::new(
                 Schema::builder()

Reply via email to