Zoltan Haindrich created HIVE-25748:
---------------------------------------

             Summary: Investigate Union comparision
                 Key: HIVE-25748
                 URL: https://issues.apache.org/jira/browse/HIVE-25748
             Project: Hive
          Issue Type: Improvement
            Reporter: Zoltan Haindrich


both of the following cases change the "non-used" part of the union (note: 
`create_union(idx,o0,o1)` creates a union which uses the `idx`-th object)

{code}
SELECT (NULLIF(create_union(0,1,2),create_union(0,1,3)) is not null);
false
SELECT (NULLIF(create_union(0,1,2),create_union(1,2,1)) is not null);
true
{code}




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

Reply via email to