Description
Add the following enum:
datetimeUnit : YEAR | QUARTER | MONTH | WEEK | DAY | DAYOFYEAR | HOUR | MINUTE | SECOND | MILLISECOND | MICROSECOND ;
and use it in the grammar rules for TIMESTAMPADD and TIMESTAMPDIFF.
Attachments
Issue Links
- is a child of
-
SPARK-38195 Add the TIMESTAMPADD() function
- Resolved
-
SPARK-38284 Add the TIMESTAMPDIFF() function
- Resolved
- links to