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

[jira] [Resolved] (CALCITE-6707) Type inference for CHR function is wrong

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

Mihai Budiu resolved CALCITE-6707.
----------------------------------
    Fix Version/s: 1.39.0
       Resolution: Fixed

Fixed in https://github.com/apache/calcite/commit/22e8b0324aa85243d83be0c7be06ff7f8f35b3fd
Thank you for the review Dmitry Sysolyatin 

> Type inference for CHR function is wrong
> ----------------------------------------
>
>                 Key: CALCITE-6707
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6707
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.38.0
>            Reporter: Mihai Budiu
>            Assignee: Mihai Budiu
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.39.0
>
>
> The return type of CHR is always CHAR(1), and never nullable.
> However, if the argument of CHR is nullable, the result should be nullable as well.



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