Github user ravipesala commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2726#discussion_r218110451
--- Diff:
core/src/main/java/org/apache/carbondata/core/datastore/page/statistics/PrimitivePageStatsCollector.java
---
@@ -140,6 +149,10 @@ private PrimitivePageStatsCollector(DataType dataType)
{
minDouble = Double.POSITIVE_INFINITY;
maxDouble = Double.NEGATIVE_INFINITY;
decimal = 0;
+ } else if (dataType == DataTypes.FLOAT) {
+ minFloat = Float.MIN_VALUE;
--- End diff --
It should be reverse, please check other datatypes. minFloat should be
Float.MAX_VALUE
---