englefly commented on code in PR #14526:
URL: https://github.com/apache/doris/pull/14526#discussion_r1035499616


##########
fe/fe-core/src/main/java/org/apache/doris/nereids/stats/FilterEstimation.java:
##########
@@ -76,7 +75,7 @@ private StatsDeriveResult calculate(Expression expression) {
 
     @Override
     public StatsDeriveResult visit(Expression expr, EstimationContext context) 
{
-        return new 
StatsDeriveResult(inputStats).updateBySelectivity(DEFAULT_INEQUALITY_COMPARISON_SELECTIVITY);
+        return 
inputStats.updateBySelectivity(DEFAULT_INEQUALITY_COMPARISON_SELECTIVITY);

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to