Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Timestamps are losing sub-second parts after Calcite literal constant reduction.
select cast("1970-12-31 15:59:58.174" as TIMESTAMP) from src limit 1;
yields 1970-12-31 15:59:58 if CBO is enabled in Hive. ZonelessTimestamp.toString() contains a truncation 0-19 (ie. removes sub-second part from string representation).
Attachments
Issue Links
- blocks
-
HIVE-15708 Upgrade calcite version to 1.12
- Closed
- relates to
-
CALCITE-1657 Release Calcite 1.12.0
- Closed