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

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


The following commit(s) were added to refs/heads/spill_and_reserve by this push:
     new 0e32538ce87 [fix] rf sync filter size meet error (#47648)
0e32538ce87 is described below

commit 0e32538ce87a83c3e622455daa04bbd34a62155e
Author: Jerry Hu <hushengg...@selectdb.com>
AuthorDate: Sat Feb 8 16:18:46 2025 +0800

    [fix] rf sync filter size meet error (#47648)
---
 be/src/exprs/runtime_filter_slots.h | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/be/src/exprs/runtime_filter_slots.h 
b/be/src/exprs/runtime_filter_slots.h
index a9dd631e358..2bf0c38164d 100644
--- a/be/src/exprs/runtime_filter_slots.h
+++ b/be/src/exprs/runtime_filter_slots.h
@@ -123,7 +123,10 @@ public:
 
     Status init_filters(RuntimeState* state, uint64_t local_hash_table_size) {
         // process IN_OR_BLOOM_FILTER's real type
-        for (auto filter : _runtime_filters) {
+        for (auto& filter : _runtime_filters) {
+            if (filter->get_ignored()) {
+                continue;
+            }
             if (filter->type() == RuntimeFilterType::IN_OR_BLOOM_FILTER &&
                 get_real_size(filter.get(), local_hash_table_size) >
                         state->runtime_filter_max_in_num()) {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to