From ca6b1c08b66defd86bd55c66e95f2782f1e28da6 Mon Sep 17 00:00:00 2001 From: minghong Date: Wed, 21 Aug 2024 09:29:16 +0800 Subject: [PATCH] fmt --- .../java/org/apache/doris/nereids/stats/FilterEstimation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/fe-core/src/main/java/org/apache/doris/nereids/stats/FilterEstimation.java b/fe/fe-core/src/main/java/org/apache/doris/nereids/stats/FilterEstimation.java index fcafb680ccb0e2..fbc15fc0e5ee74 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/nereids/stats/FilterEstimation.java +++ b/fe/fe-core/src/main/java/org/apache/doris/nereids/stats/FilterEstimation.java @@ -345,7 +345,7 @@ private Statistics estimateEqualTo(ComparisonPredicate cp, ColumnStatistic stats double val = statsForRight.maxValue; if (val > statsForLeft.maxValue || val < statsForLeft.minValue) { selectivity = 0.0; - } else if (ndv >= 1.0 ){ + } else if (ndv >= 1.0 ) { selectivity = StatsMathUtil.minNonNaN(1.0, 1.0 / ndv); } else { selectivity = DEFAULT_INEQUALITY_COEFFICIENT;