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

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


The following commit(s) were added to refs/heads/new_join by this push:
     new 6c9e59378d4 fix tpch q13
6c9e59378d4 is described below

commit 6c9e59378d4b44b3aa17df71599446b9836e2661
Author: BiteTheDDDDt <pxl...@qq.com>
AuthorDate: Fri Nov 3 16:11:58 2023 +0800

    fix tpch q13
---
 be/src/vec/common/hash_table/hash_map.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/vec/common/hash_table/hash_map.h 
b/be/src/vec/common/hash_table/hash_map.h
index 00e34900a44..a0d02ee0089 100644
--- a/be/src/vec/common/hash_table/hash_map.h
+++ b/be/src/vec/common/hash_table/hash_map.h
@@ -282,7 +282,7 @@ public:
         while (count < batch_size && iter_idx < elem_num) {
             const auto matched = visited[iter_idx];
             build_idxs[count] = iter_idx;
-            if constexpr (JoinOpType == doris::TJoinOp::RIGHT_ANTI_JOIN) {
+            if constexpr (JoinOpType != doris::TJoinOp::RIGHT_SEMI_JOIN) {
                 count += !matched;
             } else {
                 count += matched;


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

Reply via email to