Skip to content

Commit 353b11b

Browse files
committed
add comment
1 parent 9a3d9b9 commit 353b11b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

datafusion/physical-plan/src/aggregates/row_hash.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -710,6 +710,8 @@ impl Stream for GroupedHashAggregateStream {
710710
}
711711

712712
// Check if we should switch to skip aggregation mode
713+
// It's important that we do this before we early emit since we've
714+
// already updated the probe.
713715
if let Some(new_state) = self.switch_to_skip_aggregation()? {
714716
timer.done();
715717
self.exec_state = new_state;

0 commit comments

Comments
 (0)