Apache DataFusion SQL Query Engine
ARROW-887: add default value to units for backward compatibility
Julien Le Dema5bd81696476
diff --git a/format/Schema.fbs b/format/Schema.fbsindex ff6119931d..b48859f50e 100644--- a/format/Schema.fbs+++ b/format/Schema.fbs@@ -100,7 +100,7 @@ enum DateUnit: short {/// leap seconds), where the values are evenly divisible by 86400000/// * Days (32 bits) since the UNIX epochtable Date {- unit: DateUnit;+ unit: DateUnit = MILLISECOND;}enum TimeUnit: short { SECOND, MILLISECOND, MICROSECOND, NANOSECOND }@@ -109,8 +109,8 @@ enum TimeUnit: short { SECOND, MILLISECOND, MICROSECOND, NANOSECOND }/// - SECOND and MILLISECOND: 32 bits/// - MICROSECOND and NANOSECOND: 64 bitstable Time {- unit: TimeUnit;- bitWidth: int;+ unit: TimeUnit = MILLISECOND;+ bitWidth: int = 32;}/// Time elapsed from the Unix epoch, 00:00:00.000 on 1 January 1970, UTC.