zhuqi-lucas commented on code in PR #16196: URL: https://github.com/apache/datafusion/pull/16196#discussion_r2111675314
########## datafusion/physical-plan/src/aggregates/no_grouping.rs: ########## @@ -77,6 +77,11 @@ impl AggregateStream { let baseline_metrics = BaselineMetrics::new(&agg.metrics, partition); let input = agg.input.execute(partition, Arc::clone(&context))?; + // Only wrap no‐grouping aggregates in our YieldStream Review Comment: You are right, i can reproduce it now: ```rust SELECT (value % 10) AS group_key, COUNT(*) AS cnt, SUM(value) AS sum_val FROM range(1, 5000000000) AS t GROUP BY (value % 10) ORDER BY group_key; ``` -- 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: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org