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:03:24 UTC

[jira] [Updated] (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:all-tabpanel ]

Julian Hyde updated CALCITE-1608:
---------------------------------
    Description: 
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).

  was:
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, we can remove from Calcite.


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