HappenLee commented on code in PR #13246:
URL: https://github.com/apache/doris/pull/13246#discussion_r1007228697


##########
be/src/exprs/runtime_filter.cpp:
##########
@@ -452,14 +457,29 @@ class RuntimePredicateWrapper {
                 << "Can not change to bloom filter because of runtime filter 
type is "
                 << to_string(_filter_type);
         _is_bloomfilter = true;
+        insert_to_bloom_filter(_bloomfilter_func.get());
+        // release in filter
+        _hybrid_set.reset(create_set(_column_return_type));
+    }
+
+    void insert_to_bloom_filter(BloomFilterFuncBase* bloom_filter) const {
         if (_hybrid_set->size() > 0) {
+            bool use_batch = _state->enable_vectorized_exec() &&

Review Comment:
   use_batch seems can be set in constructor. maybe better `_use_batch` or 
tmeplate



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

Reply via email to