From 124a79be88ff26c3ea35faf7719c912283cadce7 Mon Sep 17 00:00:00 2001 From: Ruihang Xia Date: Tue, 19 Mar 2024 11:47:21 +0800 Subject: [PATCH] docs: annotate precision and length to primitive types (#270) Signed-off-by: Ruihang Xia --- 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 6ea4175e5..494d2e8a3 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),