You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2022/10/23 18:05:00 UTC

[jira] [Resolved] (CALCITE-3078) Duplicate code lastDay in calcite-avatica and calcite

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

Stamatis Zampetakis resolved CALCITE-3078.
------------------------------------------
    Resolution: Fixed

Fixed in https://github.com/apache/calcite-avatica/commit/0ea5d4f400afc15141076805afdc4a81d0375fc7. Thanks for reporting the issue [~ambition119]!

> Duplicate code lastDay in calcite-avatica and calcite
> -----------------------------------------------------
>
>                 Key: CALCITE-3078
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3078
>             Project: Calcite
>          Issue Type: Bug
>          Components: avatica, core
>    Affects Versions: 1.19.0
>            Reporter: pingle wang
>            Assignee: Stamatis Zampetakis
>            Priority: Trivial
>             Fix For: avatica-1.23.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> The code of lastDay appears in calcite( [lastDay|https://github.com/apache/calcite/blob/master/core/src/main/java/org/apache/calcite/runtime/SqlFunctions.java#L2322] ), and appears in calcite-avatica. I think the duplicate code can change the calcite-avatica to public function then be used by calcite.



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