[ 
https://issues.apache.org/jira/browse/FLINK-27013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

luoyuxia updated FLINK-27013:
-----------------------------
    Description: 
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.

 

  was:
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.

 


> 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
>            Priority: Major
>
> 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)

Reply via email to