Description
Calcite advertises support for all datetime functions but implementations are missing for some of them.
Since Calcite already supports EXTRACT(timeUnit FROM datetime), support could be added for the following functions: YEAR, MONTH, WEEK, DAYOFYEAR, DAYOFMONTH, DAYOFWEEK, HOUR, MINUTE, SECOND.
Some concrete implementation (like WEEK) would be missing, but if RexImpTable is updated to support it, then it would be fully wired.
Attachments
Issue Links
- is depended upon by
-
CALCITE-1613 Implement EXTRACT for time unit DOW, DOY; and fix CENTURY
- Closed
- is related to
-
CALCITE-282 Add {fn QUARTER(date)} function
- Closed
-
KYLIN-3041 support week function
- Open
- relates to
-
CALCITE-5135 Planner#parse can't parse DAY() function
- Open
-
CALCITE-5118 SqlDatePartFunction#rewriteCall should check operands length
- Closed