From 0b6ee99b864ec348f395d38720a20a32503f2f1e Mon Sep 17 00:00:00 2001 From: Richard Tia Date: Tue, 30 Jan 2024 21:26:55 -0800 Subject: [PATCH] fix: update algebra proto --- proto/substrait/algebra.proto | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/proto/substrait/algebra.proto b/proto/substrait/algebra.proto index 462ac6e75..8dbe861b9 100644 --- a/proto/substrait/algebra.proto +++ b/proto/substrait/algebra.proto @@ -808,8 +808,9 @@ message Expression { VarChar var_char = 22; bytes fixed_binary = 23; Decimal decimal = 24; - // Timestamp in units of fractional seconds since the UNIX epoch. - PrecisionTimestamp precision_timestamp = 34; + // If the precision is 6 or less then this is the microseconds since the UNIX epoch + // If the precision is more than 6 then this is the nanoseconds since the UNIX epoch + uint64 precision_timestamp = 34; Struct struct = 25; Map map = 26; // Timestamp in units of microseconds since the UNIX epoch.