Skip to content

Commit

Permalink
[fix](spill) SpillStream's writer maybe may not have been finalized (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhhsg authored Mar 28, 2024
1 parent b5dc1e4 commit ceef19a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ Status PartitionedAggSinkOperatorX::sink(doris::RuntimeState* state, vectorized:
if (revocable_mem_size(state) > 0) {
RETURN_IF_ERROR(revoke_memory(state));
} else {
for (auto& partition : local_state._shared_state->spill_partitions) {
RETURN_IF_ERROR(partition->finish_current_spilling(eos));
}
local_state._dependency->set_ready_to_read();
}
}
Expand Down

0 comments on commit ceef19a

Please sign in to comment.