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

ASF GitHub Bot updated CALCITE-7292:
------------------------------------
    Labels: pull-request-available  (was: )

> Replace "case when true then deptno else null end" with a non-simplifiable 
> expression
> -------------------------------------------------------------------------------------
>
>                 Key: CALCITE-7292
>                 URL: https://issues.apache.org/jira/browse/CALCITE-7292
>             Project: Calcite
>          Issue Type: Task
>            Reporter: Thomas Rebele
>            Assignee: Thomas Rebele
>            Priority: Major
>              Labels: pull-request-available
>
> Some tests rely on the expression
> {{case when true then deptno else null end}}
> to obtain a nullable expression. However, the expression can be simplified to 
> {{{}deptno{}}}, and deptno is a {{{}TINYINT NOT NULL{}}}. Replacing the 
> expression with
> {{case when deptno>0 then deptno else null end}}
> ensures that the expression cannot be simplified.



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

Reply via email to