Description
if (!Double.isFinite(dstas.getSum())) { LOG.debug("Not using predication pushdown on {} because stats contain NaN values", predicate.getColumnName()); return dstas.hasNull() ? TruthValue.YES_NO_NULL : TruthValue.YES_NO; } }
The isFinite function does not determine whether there is a NaN write or not, and there is a possibility of a sum overflow; we should use `isNaN` instead to determine this