You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "luoyuxia (Jira)" <ji...@apache.org> on 2022/04/02 10:05:00 UTC

[jira] [Created] (FLINK-27013) Hive dialect supports IS_DISTINCT_FROM

luoyuxia created FLINK-27013:
--------------------------------

             Summary: Hive dialect supports IS_DISTINCT_FROM
                 Key: FLINK-27013
                 URL: https://issues.apache.org/jira/browse/FLINK-27013
             Project: Flink
          Issue Type: Improvement
            Reporter: luoyuxia


It'll throw the exception with error message "Unsupported call: IS DISTINCT FROM(STRING, STRING) " with the following SQL in Hive dialect:

 
{code:java}
create table test(x string, y string);
select x <=> y, (x <=> y) = false from test; {code}
 

 

And I found  the IS_NOT_DISTINCT_FROM is supported in ExprCodeGenerator.scala, but IS_ DISTINCT_FROM is not.  The IS_ DISTINCT_FROM should also be implemented in ExprCodeGenerator.

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)