You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "xiong duan (Jira)" <ji...@apache.org> on 2023/06/08 02:27:00 UTC

[jira] [Created] (CALCITE-5769) Optimizing 'CAST(e AS t) IS NOT NULL' to 'e IS NOT NULL'

xiong duan created CALCITE-5769:
-----------------------------------

             Summary: Optimizing 'CAST(e AS t) IS NOT NULL' to 'e IS NOT NULL'
                 Key: CALCITE-5769
                 URL: https://issues.apache.org/jira/browse/CALCITE-5769
             Project: Calcite
          Issue Type: Bug
          Components: core
    Affects Versions: 1.34.0
            Reporter: xiong duan


According to CALCITE-5156. We should support optimize:
 * 'CAST(e AS t) IS NOT NULL' to 'e IS NOT NULL'
 * 'CAST(e AS t) IS NULL' to 'e IS NULL'



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