Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
avatica-1.17.0
Description
The query SELECT CAST("00:00" as TIME) returns 00:00:01 in Calcite.
The problem is located in the DateTimeUtils.timeStringToUnixDate method that mistakenly assigns 1 to seconds and minutes in some cases.
Attachments
Issue Links
- relates to
-
CALCITE-3881 SqlFunctions#addMonths yields incorrect results in some corner case
- Closed