[
https://issues.apache.org/jira/browse/FLINK-10846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17337069#comment-17337069
]
Leonard Xu commented on FLINK-10846:
------------------------------------
{code:java}
Flink SQL> select 1 IS DISTINCT FROM 1;
+----+--------+
| op | EXPR$0 |
+----+--------+
| +I | false |
+----+--------+
Received a total of 1 row
Flink SQL> select 1 IS DISTINCT FROM 2;
+----+--------+
| op | EXPR$0 |
+----+--------+
| +I | true |
+----+--------+
Received a total of 1 row
{code}
> Add support for IS DISTINCT FROM in code generator
> --------------------------------------------------
>
> Key: FLINK-10846
> URL: https://issues.apache.org/jira/browse/FLINK-10846
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / API
> Reporter: Timo Walther
> Priority: Major
> Labels: auto-unassigned
>
> It seems that sometimes \{{IS DISTINCT FROM}} is not rewritten by Calcite,
> thus we should have built-in support for it and add more tests. It is already
> officially documented.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)