Venki Korukanti created DRILL-4550:
--------------------------------------
Summary: Add support more time units in extract function
Key: DRILL-4550
URL: https://issues.apache.org/jira/browse/DRILL-4550
Project: Apache Drill
Issue Type: Improvement
Components: Functions - Drill
Affects Versions: 1.6.0
Reporter: Venki Korukanti
Assignee: Venki Korukanti
Fix For: 1.7.0
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)