lyne7-sc opened a new pull request, #2454: URL: https://github.com/apache/auron/pull/2454
# Which issue does this PR close? Closes #2453 # Rationale for this change A grouped aggregate may have no rows matching its `FILTER` clause. In this case, the group exists but its accumulator may not be initialized, causing an index-out-of-bounds error while producing the result. # What changes are included in this PR? - Ensure accumulator slots are initialized for all discovered groups before applying aggregate filters. - Add regression coverage for filtered `SUM` and `COUNT`. # Are there any user-facing changes? Yes, bug fix only. # How was this patch tested? Yes, added regression tests for filtered `SUM` and `COUNT`. # Was this patch authored or co-authored using generative AI tooling? - [x] Yes - [ ] No If yes, include: `Generated-by: gpt-5` ASF guidance: https://www.apache.org/legal/generative-tooling.html -- 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]
