hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fei Hui (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-16768) NOT operator returns NULL from result of <=>
Date Mon, 05 Jun 2017 15:05:04 GMT

    [ https://issues.apache.org/jira/browse/HIVE-16768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16037073#comment-16037073
] 

Fei Hui commented on HIVE-16768:
--------------------------------

[~sterligovak] resolve it as duplicate. Please reopen it if it is not fixed

> 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
>            Assignee: Fei Hui
>
> {{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