Thomas Rebele created CALCITE-7292:
--------------------------------------
Summary: 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
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)