xzj7019 commented on code in PR #40762: URL: https://github.com/apache/doris/pull/40762#discussion_r1766084367
########## fe/fe-core/src/main/java/org/apache/doris/nereids/stats/FilterEstimation.java: ########## @@ -117,13 +117,14 @@ public Statistics visitCompoundPredicate(CompoundPredicate predicate, Estimation Expression leftExpr = predicate.child(0); Expression rightExpr = predicate.child(1); Statistics leftStats = leftExpr.accept(this, context); - leftStats = leftStats.normalizeByRatio(context.statistics.getRowCount()); - Statistics andStats = rightExpr.accept(this, - new EstimationContext(leftStats)); + leftStats.normalizeColumnStatistics(context.statistics.getRowCount()); Review Comment: both of them will be unified to normalizeColumnStatistics -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org