yiguolei commented on code in PR #41264: URL: https://github.com/apache/doris/pull/41264#discussion_r1774407329
########## be/src/pipeline/exec/partitioned_aggregation_sink_operator.cpp: ########## @@ -184,6 +185,10 @@ Status PartitionedAggSinkOperatorX::sink(doris::RuntimeState* state, vectorized: local_state._dependency->set_ready_to_read(); local_state._finish_dependency->set_ready(); } + } else if (local_state._shared_state->is_spilled) { + if (revocable_mem_size(state) >= vectorized::SpillStream::MAX_SPILL_WRITE_BATCH_MEM) { + return revoke_memory(state); Review Comment: 这是有bug 吗? -- 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