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

Vineet Garg updated HIVE-15986:
-------------------------------
    Status: Patch Available  (was: Open)

Since {{is distinct from}} is equivalent to {{NOT <=>}} we decided to use 
existing UDFs instead of adding brand new ones. Latest patch contain this 
change. 
Ideally the grammar should be rewriting this expression into {{<=>}} but I 
couldn't figure out how to rewrite it, so instead now during AST to Expr 
conversion ast nodes are replaced with null safe equality's UDFs

> Support "is [not] distinct from"
> --------------------------------
>
>                 Key: HIVE-15986
>                 URL: https://issues.apache.org/jira/browse/HIVE-15986
>             Project: Hive
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Carter Shanklin
>            Assignee: Vineet Garg
>         Attachments: HIVE-15986.1.patch, HIVE-15986.2.patch
>
>
> Support standard "is [not] distinct from" syntax. For example this gives a 
> standard way to do a comparison to null safe join: select * from t1 join t2 
> on t1.x is not distinct from t2.y. SQL standard reference Section 8.15



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to