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/06/21 17:04:54 UTC

[doris] branch master updated: [enhancement](exchange) add filter for exchange node in BE (#21087)

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 a33521b2ce [enhancement](exchange) add filter for exchange node in BE (#21087)
a33521b2ce is described below

commit a33521b2ce3b3a756bbd19cc42aa2d5faa72bb95
Author: zhangstar333 <87...@users.noreply.github.com>
AuthorDate: Thu Jun 22 01:04:47 2023 +0800

    [enhancement](exchange) add filter for exchange node in BE (#21087)
---
 be/src/vec/exec/vexchange_node.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/be/src/vec/exec/vexchange_node.cpp b/be/src/vec/exec/vexchange_node.cpp
index 61fb57e06b..3d9a50ded2 100644
--- a/be/src/vec/exec/vexchange_node.cpp
+++ b/be/src/vec/exec/vexchange_node.cpp
@@ -31,6 +31,7 @@
 #include "util/telemetry/telemetry.h"
 #include "vec/core/block.h"
 #include "vec/core/column_with_type_and_name.h"
+#include "vec/exprs/vexpr_context.h"
 #include "vec/runtime/vdata_stream_mgr.h"
 #include "vec/runtime/vdata_stream_recvr.h"
 
@@ -104,6 +105,7 @@ Status VExchangeNode::get_next(RuntimeState* state, Block* block, bool* eos) {
         return Status::OK();
     }
     auto status = _stream_recvr->get_next(block, eos);
+    RETURN_IF_ERROR(VExprContext::filter_block(_conjuncts, block, block->columns()));
     // In vsortrunmerger, it will set eos=true, and block not empty
     // so that eos==true, could not make sure that block not have valid data
     if (!*eos || block->rows() > 0) {


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