Skip to content

Commit

Permalink
Remove unnecessary reassignment in ComparisonStatsCalculator
Browse files Browse the repository at this point in the history
  • Loading branch information
takezoe authored and ebyhr committed Aug 12, 2024
1 parent 02be904 commit a9b95c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ private static PlanNodeStatsEstimate estimateExpressionNotEqualToLiteral(
.setNullsFraction(0.0)
.setDistinctValuesCount(max(expressionStatistics.getDistinctValuesCount() - 1, 0))
.build();
estimate = estimate.addSymbolStatistics(expressionSymbol.get(), symbolNewEstimate);
estimate.addSymbolStatistics(expressionSymbol.get(), symbolNewEstimate);
}
return estimate.build();
}
Expand Down

0 comments on commit a9b95c2

Please sign in to comment.