Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
2.1.1
-
None
-
None
-
None
Description
SELECT "foo" <=> null;
returns false as expected.
SELECT NOT("foo" <=> null);
returns NULL, but should return true.
Workaround is
SELECT NOT(COALESCE("foo" <=> null));
Attachments
Issue Links
- is related to
-
HIVE-15517 NOT (x <=> y) returns NULL if x or y is NULL
- Closed