[ 
https://issues.apache.org/jira/browse/CALCITE-5342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde resolved CALCITE-5342.
----------------------------------
    Resolution: Fixed

Fixed inĀ 
[3801b42c|https://github.com/apache/calcite/commit/3801b42c0a5237ad7ff6b4c22eec96bcde628034].

> Refactor SqlFunctions lastDay, addMonths, subtractMonths to use DateTimeUtils 
> from Avatica
> ------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-5342
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5342
>             Project: Calcite
>          Issue Type: Improvement
>            Reporter: Stamatis Zampetakis
>            Assignee: Julian Hyde
>            Priority: Major
>             Fix For: 1.33.0
>
>
> Refactor the following 
> [SqlFunctions|https://github.com/apache/calcite/blob/040e85a9219a65122f6ae5ecd8f988afe29e5180/core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java]:
> * lastDay;
> * addMonths;
> * subtractMonths 
> to use the respective methods from 
> [DateTimeUtils|https://github.com/apache/calcite-avatica/blob/af0e9e44ccff4580c1560835da62e8d593181c86/core/src/main/java/org/apache/calcite/avatica/util/DateTimeUtils.java]
>  in Avatica and remove duplicate code between the repos.
> It is necessary to wait for Avatica 1.23.0 (CALCITE-5341) for doing this.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to