[ https://issues.apache.org/jira/browse/CALCITE-1177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15254688#comment-15254688 ]
Julian Hyde commented on CALCITE-1177: -------------------------------------- [~venki387], I have reviewed the PR, and it all looks good. I have committed the Avatica change, CALCITE-1179. We will have to wait until the next Avatica release before we commit the Calcite changes (omitting of course the change to make Calcite depend on an Avatica snapshot). [~elserj], Any ETA for avatica-1.8.0? > Add support for more time units in extract function > --------------------------------------------------- > > Key: CALCITE-1177 > URL: https://issues.apache.org/jira/browse/CALCITE-1177 > Project: Calcite > Issue Type: Improvement > Components: core > Reporter: Venki Korukanti > Assignee: Julian Hyde > > 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. > Definitions of these units is similar to Postgres: > http://www.postgresql.org/docs/9.1/static/functions-datetime.html#FUNCTIONS-DATETIME-EXTRACT -- This message was sent by Atlassian JIRA (v6.3.4#6332)