HappenLee commented on code in PR #59591:
URL: https://github.com/apache/doris/pull/59591#discussion_r2786151802
##########
be/src/pipeline/exec/hashjoin_build_sink.cpp:
##########
@@ -217,9 +219,15 @@ Status HashJoinBuildSinkLocalState::close(RuntimeState*
state, Status exec_statu
}
if (_shared_state->build_block) {
- // release the memory of unused column in probe stage
-
_shared_state->build_block->clear_column_mem_not_keep(p._should_keep_column_flags,
-
p._use_shared_hash_table);
+ // For ASOF JOIN, keep all columns because the optimized probe
path needs ASOF column
Review Comment:
recheck the logic, maybe need a example?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]