yiguolei commented on code in PR #41991: URL: https://github.com/apache/doris/pull/41991#discussion_r1804144910
########## be/src/pipeline/exec/partitioned_aggregation_source_operator.cpp: ########## @@ -138,21 +138,24 @@ Status PartitionedAggSourceOperatorX::get_block(RuntimeState* state, vectorized: bool* eos) { auto& local_state = get_local_state(state); local_state.copy_shared_spill_profile(); + Status status; Defer defer {[&]() { - if (!local_state._status.ok() || *eos) { + if (!status.ok() || *eos) { Review Comment: 为什么不直接判断 ocal_state._shared_state->_spill_status.status()? -- 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