#81 Wrong treatment of NaNs in queries involving comparison

open
nobody
None
5
2011-07-12
2011-07-12
Ilya Boyandin
No

DefaultLiteralComparator uses Double.NaN.compareTo() which treats NaNs as the largest values. Therefore, queries like:

table.rows(ExpressionParser.parse("field > 100"))

will also return rows with NaNs as the field values.

Discussion