Hasnaathussain opened a new pull request, #27828: URL: https://github.com/apache/datafusion/pull/27828
## Which issue does this PR close? Closes #12059. ## Rationale for this change The grouping-set tests can return the expected rows even if the final aggregate stops spilling to disk. The partial aggregate's early-emission check does not cover that path. ## What changes are included in this PR? Use the existing spill-count assertion on the final aggregate. The two forced-spill cases must report a positive count, and the two controls must report zero. ## What is the testing strategy for this PR? All four `aggregate_grouping_sets` cases and all 3,079 physical-plan unit tests passed locally. The extended workspace run passed 13,667 Rust tests across resumed runs and completed 310 SQL logic files. Formatting and strict all-targets, all-features Clippy passed. ## Are there any user-facing changes? Test coverage only. Codex assisted with investigating the test coverage, preparing the assertion, and running local checks. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
