Alberto Gomez created GEODE-9018:
------------------------------------
Summary: ExtendedNumericComparator does not compare correctly Null
and Undefined
Key: GEODE-9018
URL: https://issues.apache.org/jira/browse/GEODE-9018
Project: Geode
Issue Type: Bug
Components: querying
Reporter: Alberto Gomez
The compareTo method of ExtendedNumericComparator does not compare correctly
UNDEFINED and NULL.
UNDEFINED should always be smaller than anything but it is not always so when
compared with NULL.
compareTo(NULL, UNDEFINED) returns 1 which is correct but
compareTo(UNDEFINED, NULL) returns 1 but it should return -1.
This could provoke that queries do not return the right results when these
values are involved.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)