yiguolei commented on code in PR #32202: URL: https://github.com/apache/doris/pull/32202#discussion_r1524367616
########## be/src/pipeline/exec/partitioned_hash_join_probe_operator.cpp: ########## @@ -657,6 +703,14 @@ Status PartitionedHashJoinProbeOperatorX::_revoke_memory(RuntimeState* state, bo } bool PartitionedHashJoinProbeOperatorX::_should_revoke_memory(RuntimeState* state) const { + auto& local_state = get_local_state(state); + + if (local_state._shared_state->need_to_spill) { Review Comment: build: 1 2 3 4 partition 1 --> memory probe --> block ---> partition 4 ---> probe partition 1, left probe partition 2,3,4 memtable spill stream çš„buffer build --> sort -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org