Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
englefly committed Aug 21, 2024
1 parent ee33463 commit ca6b1c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ca6b1c0

Please sign in to comment.