This is an automated email from the ASF dual-hosted git repository.

panxiaolei pushed a commit to branch tpc_preview3
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 16b2d1c89af76e889d6ff0c5e9031f0dc9b93ec4
Author: BiteTheDDDDt <[email protected]>
AuthorDate: Fri Nov 28 00:25:03 2025 +0800

    fix judge selectivity
---
 be/src/olap/column_predicate.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/olap/column_predicate.h b/be/src/olap/column_predicate.h
index ff569c0a173..6e6671ff337 100644
--- a/be/src/olap/column_predicate.h
+++ b/be/src/olap/column_predicate.h
@@ -363,7 +363,7 @@ protected:
     }
 
     void try_reset_judge_selectivity() const {
-        if (_can_ignore() && (_judge_counter == 0)) {
+        if (_can_ignore() && (_judge_counter-- == 0)) {
             reset_judge_selectivity();
         }
     }


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

Reply via email to