Description
Implementation would be similar to PostgreSQL (the time/timestamp with timezone types do not store the timezone) and conversion from/to timezone-less types follows similar semantics.
https://www.postgresql.org/docs/9.6/static/functions-datetime.html
This would also allow us to integrate easily with Hive and Druid, which follow similar storage models/semantics for timestamp with timezone.
Follow-up work will be needed to introduce these new types in Avatica and extend Calcite SQL parser.
Attachments
Issue Links
- blocks
-
CALCITE-1970 Release Calcite 1.14.0
- Closed
- is related to
-
CALCITE-1784 SqlTypeName doesn't have timestamp with time zone type
- Open
-
CALCITE-208 Support TIMESTAMP WITH TIME ZONE data type
- Open
- relates to
-
CALCITE-2107 Timezone not passed as part of granularity when passing TimeExtractionFunction to Druid
- Closed
-
CALCITE-4555 Invalid zero literal value is used for TIMESTAMP WITH LOCAL TIME ZONE type in RexBuilder
- Closed
-
CALCITE-3611 Introduce TIME/TIMESTAMP WITH TIME ZONE types
- Open