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

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


The following commit(s) were added to refs/heads/master by this push:
     new 36c85d2  [fix][vectorized] Fix bug of left semi/anti with other join 
conjunct (#8596)
36c85d2 is described below

commit 36c85d2f06c830c70e39c6d0ec0a2be11bb48cab
Author: HappenLee <[email protected]>
AuthorDate: Wed Mar 23 10:34:47 2022 +0800

    [fix][vectorized] Fix bug of left semi/anti with other join conjunct (#8596)
---
 be/src/vec/exec/join/vhash_join_node.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/be/src/vec/exec/join/vhash_join_node.cpp 
b/be/src/vec/exec/join/vhash_join_node.cpp
index a8b6c3a..aea3ff7 100644
--- a/be/src/vec/exec/join/vhash_join_node.cpp
+++ b/be/src/vec/exec/join/vhash_join_node.cpp
@@ -533,6 +533,8 @@ struct ProcessHashTableProbe {
                           JoinOpType::value == TJoinOp::RIGHT_ANTI_JOIN) {
                 output_block->clear();
             } else {
+                if constexpr (JoinOpType::value == TJoinOp::LEFT_SEMI_JOIN ||
+                          JoinOpType::value == TJoinOp::LEFT_ANTI_JOIN) 
orig_columns = right_col_idx;
                 Block::filter_block(output_block, result_column_id, 
orig_columns);
             }
         }

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to