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 76b5470126f [fix](hash join) fix column ref DCHECK failure of hash 
join node block mem reuse (#28991) (#29018)
76b5470126f is described below

commit 76b5470126fd8e0a8eeece9795375dc5589b7e90
Author: TengJianPing <[email protected]>
AuthorDate: Tue Dec 26 12:00:43 2023 +0800

    [fix](hash join) fix column ref DCHECK failure of hash join node block mem 
reuse (#28991) (#29018)
---
 be/src/vec/exec/join/vhash_join_node.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/vec/exec/join/vhash_join_node.cpp 
b/be/src/vec/exec/join/vhash_join_node.cpp
index f8b2ff02c98..9d6e712c7f3 100644
--- a/be/src/vec/exec/join/vhash_join_node.cpp
+++ b/be/src/vec/exec/join/vhash_join_node.cpp
@@ -882,7 +882,7 @@ Status HashJoinNode::_materialize_build_side(RuntimeState* 
state) {
         // If eos or have already met a null value using short-circuit 
strategy, we do not need to pull
         // data from data.
         while (!eos && (!_short_circuit_for_null_in_build_side || 
!_has_null_in_build_side)) {
-            block.clear_column_data();
+            release_block_memory(block, 1);
             RETURN_IF_CANCELLED(state);
             {
                 SCOPED_TIMER(_build_get_next_timer);


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

Reply via email to