mrhhsg commented on code in PR #63389:
URL: https://github.com/apache/doris/pull/63389#discussion_r3403941726


##########
be/src/exprs/runtime_filter_expr.cpp:
##########
@@ -190,4 +193,17 @@ Status RuntimeFilterExpr::execute_filter(VExprContext* 
context, const Block* blo
     return Status::OK();
 }
 
+ZoneMapFilterResult RuntimeFilterExpr::evaluate_zonemap_filter(
+        const ZoneMapEvalContext& ctx) const {
+    return _impl->evaluate_zonemap_filter(ctx);
+}
+
+bool RuntimeFilterExpr::can_evaluate_zonemap_filter() const {
+    return !_null_aware && _impl->can_evaluate_zonemap_filter();

Review Comment:
   `_null_aware` 这个值就是来自 runtime filter 的内部数据:
   ```cpp
   bool RuntimeFilterWrapper::contain_null() const {
       if (get_real_type() == RuntimeFilterType::BLOOM_FILTER) {
           return _bloom_filter_func->contain_null();
       }
       if (_hybrid_set) {
           return _hybrid_set->contain_null();
       }
       if (_minmax_func) {
           return _minmax_func->contain_null();
       }
       return false;
   }
   ```



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