[
https://issues.apache.org/jira/browse/CALCITE-5769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
xiong duan resolved CALCITE-5769.
---------------------------------
Fix Version/s: 1.35.0
Resolution: Fixed
Fixed in
[2c007fb087800584|https://github.com/apache/calcite/commit/2c007fb0878005848c81c81f171a1bf6b669896a].
Thanks for the review [~VAE] and [~jiajunbernoulli].
> 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
> Assignee: xiong duan
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.35.0
>
>
> 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)