-
Notifications
You must be signed in to change notification settings - Fork 982
Support signed integers and decimals in SUM_WITH_OVERFLOW groupby
#19598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
SUM_WITH_OVERFLOW groupby
davidwendt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good. Extra points for decimal128 support.
ttnghia
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Depends on:
Co-authored-by: Nghia Truong <[email protected]>
|
/merge |
Description
Closes #19243
This PR updates the
SUM_WITH_OVERFLOWgroupby implementation to support all signed integer and decimal types, instead of onlyINT64. It also adds a device-sideatomic_addfordecimal128, which will help unblock #19251. Note that this is a breaking change: previously, the output value column ofSUM_WITH_OVERFLOWgroupby was alwaysINT64, but it will now match the input type.Checklist