You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "xiong duan (Jira)" <ji...@apache.org> on 2025/01/24 01:16:00 UTC

[jira] [Resolved] (CALCITE-6079) SqlOperatorTest should check that expressions that return NULL have a nullable type

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

xiong duan resolved CALCITE-6079.
---------------------------------
    Fix Version/s: 1.39.0
       Resolution: Duplicate

> SqlOperatorTest should check that expressions that return NULL have a nullable type
> -----------------------------------------------------------------------------------
>
>                 Key: CALCITE-6079
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6079
>             Project: Calcite
>          Issue Type: Improvement
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>            Priority: Major
>             Fix For: 1.39.0
>
>
> {{SqlOperatorTest}} should check that expressions that return NULL have a nullable type. This can be done by extending {{SqlOperatorTestFixture.checkNull}} to look at the type.
> We will probably catch a few operators whose type-inference strategy is slightly off. Looks like {{{}REGEXP_EXTRACT_ALL{}}}, {{{}CHR{}}}, {{TO_CODE_POINTS}} have some problems.



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