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 124a79b  docs: annotate precision and length to primitive types (#270)
124a79b is described below

commit 124a79be88ff26c3ea35faf7719c912283cadce7
Author: Ruihang Xia <[email protected]>
AuthorDate: Tue Mar 19 11:47:21 2024 +0800

    docs: annotate precision and length to primitive types (#270)
    
    Signed-off-by: Ruihang Xia <[email protected]>
---
 crates/iceberg/src/spec/datatypes.rs | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/crates/iceberg/src/spec/datatypes.rs 
b/crates/iceberg/src/spec/datatypes.rs
index 6ea4175..494d2e8 100644
--- a/crates/iceberg/src/spec/datatypes.rs
+++ b/crates/iceberg/src/spec/datatypes.rs
@@ -193,15 +193,15 @@ pub enum PrimitiveType {
     },
     /// Calendar date without timezone or time.
     Date,
-    /// Time of day without date or timezone.
+    /// Time of day in microsecond precision, without date or timezone.
     Time,
-    /// Timestamp without timezone
+    /// Timestamp in microsecond precision, without timezone
     Timestamp,
-    /// Timestamp with timezone
+    /// Timestamp in microsecond precision, with timezone
     Timestamptz,
     /// Arbitrary-length character sequences encoded in utf-8
     String,
-    /// Universally Unique Identifiers
+    /// Universally Unique Identifiers, should use 16-byte fixed
     Uuid,
     /// Fixed length byte array
     Fixed(u64),

Reply via email to