Fix SymbolStatsEstimate.equals when low/high NaN
@@ -142,8 +142,8 @@ public class SymbolStatsEstimate
return Double.compare(nullsFraction, that.nullsFraction) == 0 &&
Double.compare(averageRowSize, that.averageRowSize) == 0 &&
Double.compare(distinctValuesCount, that.distinctValuesCount) == 0 &&
- Objects.equals(lowValue, that.lowValue) &&
- Objects.equals(highValue, that.highValue);
+ Double.compare(lowValue, that.lowValue) == 0 &&
+ Double.compare(highValue, that.highValue) == 0;
}
@Override
