Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.6.0
-
None
Description
Currently extract function support following units YEAR, MONTH, DAY, HOUR, MINUTE, SECOND. Add support for more units: CENTURY, DECADE, DOW, DOY, EPOCH, MILLENNIUM, QUARTER, WEEK.
We also need changes in the SQL parser. Currently the parser only allows YEAR, MONTH, DAY, HOUR, MINUTE, SECOND as units.
Attachments
Issue Links
- contains
-
DRILL-2388 support extract(epoch)
- Open
- depends upon
-
CALCITE-1177 Support more time units in EXTRACT function
- Closed
- links to