You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2023/04/03 01:09:59 UTC

[doris] branch master updated: [fix](expr pushdown) Fix VRuntimeFilterWrapper cannot get children #18289

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 4b914c196a [fix](expr pushdown) Fix VRuntimeFilterWrapper cannot get children #18289
4b914c196a is described below

commit 4b914c196a1cfb8791c983dc83b55bbe334e19f1
Author: Xinyi Zou <zo...@gmail.com>
AuthorDate: Mon Apr 3 09:09:52 2023 +0800

    [fix](expr pushdown) Fix VRuntimeFilterWrapper cannot get children #18289
---
 be/src/vec/exprs/vexpr.h                  | 2 +-
 be/src/vec/exprs/vruntimefilter_wrapper.h | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/be/src/vec/exprs/vexpr.h b/be/src/vec/exprs/vexpr.h
index 8af3d2ad16..b45bf7bbb4 100644
--- a/be/src/vec/exprs/vexpr.h
+++ b/be/src/vec/exprs/vexpr.h
@@ -130,7 +130,7 @@ public:
     static Status create_tree_from_thrift(doris::ObjectPool* pool,
                                           const std::vector<doris::TExprNode>& nodes, int* node_idx,
                                           VExpr** root_expr, VExprContext** ctx);
-    const std::vector<VExpr*>& children() const { return _children; }
+    virtual const std::vector<VExpr*>& children() const { return _children; }
     void set_children(std::vector<VExpr*> children) { _children = children; }
     virtual std::string debug_string() const;
     static std::string debug_string(const std::vector<VExpr*>& exprs);
diff --git a/be/src/vec/exprs/vruntimefilter_wrapper.h b/be/src/vec/exprs/vruntimefilter_wrapper.h
index e63d09691a..d78880a636 100644
--- a/be/src/vec/exprs/vruntimefilter_wrapper.h
+++ b/be/src/vec/exprs/vruntimefilter_wrapper.h
@@ -39,6 +39,7 @@ public:
         return pool->add(new VRuntimeFilterWrapper(*this));
     }
     const std::string& expr_name() const override;
+    const std::vector<VExpr*>& children() const override { return _impl->children(); }
 
     const VExpr* get_impl() const override { return _impl; }
 


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