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

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


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new ddaaac5b44f [Bug](runtime-filter) pick #44408 #43078 (#44686)
ddaaac5b44f is described below

commit ddaaac5b44f43afebcd13e3fd4c03be09f72d737
Author: Pxl <[email protected]>
AuthorDate: Thu Nov 28 12:23:38 2024 +0800

    [Bug](runtime-filter) pick #44408 #43078 (#44686)
    
    pick #44408 #43078
---
 be/src/exprs/runtime_filter_slots.h | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/be/src/exprs/runtime_filter_slots.h 
b/be/src/exprs/runtime_filter_slots.h
index b6ca31c7272..2b9773ce89f 100644
--- a/be/src/exprs/runtime_filter_slots.h
+++ b/be/src/exprs/runtime_filter_slots.h
@@ -77,6 +77,10 @@ public:
             if (filter->get_real_type() != RuntimeFilterType::IN_FILTER) {
                 continue;
             }
+            if (!filter->need_sync_filter_size() &&
+                filter->type() == RuntimeFilterType::IN_OR_BLOOM_FILTER) {
+                continue;
+            }
             if (has_in_filter.contains(filter->expr_order())) {
                 filter->set_ignored();
                 continue;
@@ -84,8 +88,8 @@ public:
             has_in_filter.insert(filter->expr_order());
         }
 
-        // process ignore filter when it has IN_FILTER on same expr, and init 
bloom filter size
-        for (auto* filter : _runtime_filters) {
+        // process ignore filter when it has IN_FILTER on same expr
+        for (auto filter : _runtime_filters) {
             if (filter->get_ignored()) {
                 continue;
             }


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

Reply via email to