From b1b7fd418c434c8915b129f758c317ff5d3f91d1 Mon Sep 17 00:00:00 2001 From: minghong Date: Thu, 22 Aug 2024 10:03:26 +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 fbc15fc0e5ee74..5569580d29bf0f 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;