Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
Calcite already supports TIMESTAMPADD and TIMESTAMPDIFF. We should try mapping the BQ style syntax to these already implemented functions.
We did something similar for TIMESTAMP_TRUNC and TIME_TRUNC which conveniently mapped to FLOOR in CALCITE-5269
Attachments
Issue Links
- is blocked by
-
CALCITE-5155 Custom time frames
- Closed
- is related to
-
CALCITE-5489 When creating a RexCall to TIMESTAMP_DIFF function, cannot convert a TIMESTAMP literal to a org.apache.calcite.avatica.util.TimeUnit
- Closed
- relates to
-
CALCITE-5422 Time units to be supported by TIMESTAMP_ADD function
- Open
- links to