You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Laurent Goujon (JIRA)" <ji...@apache.org> on 2017/01/26 21:40:25 UTC

[jira] [Created] (CALCITE-1606) Add missing support for datetime JDBC functions

Laurent Goujon created CALCITE-1606:
---------------------------------------

             Summary: Add missing support for datetime JDBC functions
                 Key: CALCITE-1606
                 URL: https://issues.apache.org/jira/browse/CALCITE-1606
             Project: Calcite
          Issue Type: Improvement
          Components: core
            Reporter: Laurent Goujon
            Assignee: Julian Hyde
            Priority: Minor


Calcite advertises support for all datetime functions but implementations are missing for some of them.

Since Calcite already supports EXTRACT(timeUnit FROM datetime), support could be added for the following functions: YEAR, MONTH, WEEK, DAYOFYEAR, DAYOFMONTH, DAYOFWEEK, HOUR, MINUTE, SECOND.

Some concrete implementation (like WEEK) would be missing, but if RexImpTable is updated to support it, then it would be fully wired.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)