Skip to content

Commit bcf3f8f

Browse files
author
Rafał Hibner
committed
Propagate backpressure in hash aggregate node
1 parent bebfa97 commit bcf3f8f

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

cpp/src/arrow/acero/aggregate_internal.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -293,13 +293,11 @@ class GroupByNode : public ExecNode, public TracedNode {
293293
}
294294

295295
void PauseProducing(ExecNode* output, int32_t counter) override {
296-
// TODO(ARROW-16260)
297-
// Without spillover there is no way to handle backpressure in this node
296+
inputs_[0]->PauseProducing(this, counter);
298297
}
299298

300299
void ResumeProducing(ExecNode* output, int32_t counter) override {
301-
// TODO(ARROW-16260)
302-
// Without spillover there is no way to handle backpressure in this node
300+
inputs_[0]->ResumeProducing(this, counter);
303301
}
304302

305303
Status StopProducingImpl() override { return Status::OK(); }

0 commit comments

Comments
 (0)