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/27 19:04:00 UTC

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

Mihai Budiu created CALCITE-6707:
------------------------------------

             Summary: 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


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)