[ 
https://issues.apache.org/jira/browse/DRILL-4550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15411068#comment-15411068
 ] 

ASF GitHub Bot commented on DRILL-4550:
---------------------------------------

Github user vkorukanti closed the pull request at:

    https://github.com/apache/drill/pull/453


> 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: Future
>
>
> 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)

Reply via email to