Skip to content

Commit 517159d

Browse files
committed
Revert "try mock to test."
This reverts commit 910f621.
1 parent 3e025cd commit 517159d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,9 +1060,11 @@ impl GroupedHashAggregateStream {
10601060
fn switch_to_skip_aggregation(&mut self) -> Result<()> {
10611061
if let Some(probe) = self.skip_aggregation_probe.as_mut() {
10621062
if probe.should_skip() {
1063-
// let batch = self.emit(EmitTo::All, false)?;
1064-
let batch = RecordBatch::new_empty(self.schema.clone());
1063+
dbg!("should skip");
1064+
let batch = self.emit(EmitTo::All, false)?;
10651065
self.exec_state = ExecutionState::ProducingOutput(batch);
1066+
} else {
1067+
dbg!("should not skip");
10661068
}
10671069
}
10681070

0 commit comments

Comments
 (0)