You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2017/01/28 17:04:24 UTC

[jira] [Commented] (CALCITE-1608) Move addMonths and subtractMonths from Calcite to Avatica

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

Julian Hyde commented on CALCITE-1608:
--------------------------------------

Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/d6c5d6e1.

> Move addMonths and subtractMonths from Calcite to Avatica
> ---------------------------------------------------------
>
>                 Key: CALCITE-1608
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1608
>             Project: Calcite
>          Issue Type: Bug
>          Components: avatica
>            Reporter: Julian Hyde
>             Fix For: 1.12.0
>
>
> Move the {{addMonths}} and {{subtractMonths}} methods from Calcite's {{SqlFunctions}} to Avatica's {{DateTimeUtils}}. This is consistent with other date-time functions being in Avatica.
> Also, move tests from Calcite {{SqlFunctionsTest}} to Avatica {{DateTimeUtilsTest}}.
> After they are in an Avatica release that Calcite uses (see CALCITE-1612), we can remove from Calcite and also get some extra functionality (see CALCITE-1613).



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