alexandrefimov opened a new pull request, #26137: URL: https://github.com/apache/datafusion/pull/26137
## Which issue does this PR close? Closes #26135. ## Rationale for this change GROUPING over 65 distinct grouping columns can panic while the analyzer constructs the mask. ## What changes are included in this PR? Reject unrepresentable grouping-set masks after argument validation and before constructing the mask. Preserve the ordinary GROUP BY path where GROUPING returns zero. ## What is the testing strategy for this PR? Five core API tests cover high-bit, low-bit and all-argument cases, 63/64-key boundaries, ordinary 65-key GROUP BY and COUNT-only physical-capacity refusal. Both aggregate kernels are covered. Focused tests, crate tests, extended workspace tests, formatting, all-target/all-feature Clippy and `dev/rust_lint.sh` passed. ## Are there any user-facing changes? Unsupported masks return NotImplemented during analysis. -- 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]
