You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Ruben Q L (Jira)" <ji...@apache.org> on 2023/06/28 20:20:00 UTC

[jira] [Commented] (CALCITE-5539) GREATEST/LEAST/COALESCE OperandTypes is not correct, which should use AT_LEAST_ONE_SAME_VARIADIC like array_concat

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

Ruben Q L commented on CALCITE-5539:
------------------------------------

[~jackylau] if I understand correctly, the problem is that GREATEST/LEAST/COALESCE can be called without parameters? Could you please provide a unit test showing the issue?
In any case, since this does not seem a regression, we have no PR for this and we are on the verge of producing 1.35 RC, I'm removing the fixVersion=1.35; we can continue the discussion for the next release.

> GREATEST/LEAST/COALESCE OperandTypes is not correct, which should use AT_LEAST_ONE_SAME_VARIADIC like array_concat
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-5539
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5539
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.34.0
>            Reporter: Jacky Lau
>            Priority: Major
>             Fix For: 1.35.0
>
>         Attachments: image-2023-02-22-18-59-50-951.png, image-2023-02-22-19-24-46-574.png
>
>
> i found it  is not correct. and  SAME_VARIADIC is developped in 2014, which may not fixed.
>  
> !image-2023-02-22-18-59-50-951.png!



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