drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venki Korukanti (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-4550) Add support more time units in extract function
Date Tue, 29 Mar 2016 01:35:25 GMT
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)

Mime
View raw message