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

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


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new 59eb67b7b5b [Bug](join) fix wrong result on left anti mark join #28586
59eb67b7b5b is described below

commit 59eb67b7b5b7bc5b5ec63c1fcf939ab07e1b2674
Author: Pxl <pxl...@qq.com>
AuthorDate: Tue Dec 19 14:51:53 2023 +0800

    [Bug](join) fix wrong result on left anti mark join #28586
---
 be/src/vec/exec/join/process_hash_table_probe_impl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/vec/exec/join/process_hash_table_probe_impl.h 
b/be/src/vec/exec/join/process_hash_table_probe_impl.h
index dee0f806a82..8edd21d835b 100644
--- a/be/src/vec/exec/join/process_hash_table_probe_impl.h
+++ b/be/src/vec/exec/join/process_hash_table_probe_impl.h
@@ -293,7 +293,7 @@ Status 
ProcessHashTableProbe<JoinOpType>::do_process(HashTableType& hash_table_c
                         ++current_offset;
                         bool null_result =
                                 (need_null_map_for_probe && 
(*null_map)[probe_index]) ||
-                                (!find_result.is_found() && 
_join_node->_has_null_in_build_side);
+                                (find_result.is_found() && 
_join_node->_has_null_in_build_side);
                         if (null_result) {
                             mark_column->insert_null();
                         } else {


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

Reply via email to