Skip to content

Commit

Permalink
docs: annotate precision and length to primitive types (#270)
Browse files Browse the repository at this point in the history
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
  • Loading branch information
waynexia committed Mar 19, 2024
1 parent d6703df commit 124a79b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/iceberg/src/spec/datatypes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 124a79b

Please sign in to comment.