hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Sterligov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-16768) NOT operator returns NULL from result of <=>
Date Fri, 26 May 2017 07:51:05 GMT
Alexander Sterligov created HIVE-16768:
------------------------------------------

             Summary: NOT operator returns NULL from result of <=>
                 Key: HIVE-16768
                 URL: https://issues.apache.org/jira/browse/HIVE-16768
             Project: Hive
          Issue Type: Bug
    Affects Versions: 2.1.1
            Reporter: Alexander Sterligov


{{SELECT "foo" <=> null;}}
returns {{false}} as expected.

{{SELECT NOT("foo" <=> null);}}
returns NULL, but should return {{true}}.

Workaround is
{{SELECT NOT(COALESCE("foo" <=> null));}}



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

Mime
View raw message