Description
} else if (category == TypeDescription.Category.DOUBLE) { DoubleColumnStatistics dstas = (DoubleColumnStatistics) cs; 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; } }
Currently only the Double category is checked. the Float category is also only pushed down if the statistics sum to a finite value.