BiteTheDDDDt commented on code in PR #58466:
URL: https://github.com/apache/doris/pull/58466#discussion_r2569369153


##########
be/src/olap/column_predicate.h:
##########
@@ -351,10 +354,13 @@ class ColumnPredicate {
         _judge_filter_rows = 0;
     }
 
-    void do_judge_selectivity(uint64_t filter_rows, uint64_t input_rows) const 
{
-        if ((_judge_counter--) == 0) {
+    void try_reset_judge_selectivity() const {
+        if (_can_ignore() && (_judge_counter == 0)) {

Review Comment:
   这里是不是_judge_counter需要减一,不然_judge_counter一直不变



-- 
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