Skip to content

Conversation

@PointKernel
Copy link
Member

@PointKernel PointKernel commented Aug 5, 2025

Description

Closes #19243

This PR updates the SUM_WITH_OVERFLOW groupby implementation to support all signed integer and decimal types, instead of only INT64. It also adds a device-side atomic_add for decimal128, which will help unblock #19251. Note that this is a breaking change: previously, the output value column of SUM_WITH_OVERFLOW groupby was always INT64, but it will now match the input type.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@PointKernel PointKernel self-assigned this Aug 5, 2025
@copy-pr-bot
Copy link

copy-pr-bot bot commented Aug 5, 2025

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.

@PointKernel PointKernel changed the title Support signed integers and decimals in SUM_WITH_OVERFLOW Support signed integers and decimals (except decimal128) in SUM_WITH_OVERFLOW groupby Oct 21, 2025
@copy-pr-bot
Copy link

copy-pr-bot bot commented Oct 21, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions github-actions bot added libcudf Affects libcudf (C++/CUDA) code. Python Affects Python cuDF API. CMake CMake build issue Java Affects Java cuDF API. cudf.pandas Issues specific to cudf.pandas cudf-polars Issues specific to cudf-polars pylibcudf Issues specific to the pylibcudf package labels Oct 21, 2025
@PointKernel PointKernel changed the base branch from branch-25.10 to main October 21, 2025 21:09
@PointKernel PointKernel removed Python Affects Python cuDF API. Java Affects Java cuDF API. cudf.pandas Issues specific to cudf.pandas cudf-polars Issues specific to cudf-polars pylibcudf Issues specific to the pylibcudf package labels Oct 21, 2025
@GPUtester GPUtester moved this to In Progress in cuDF Python Oct 21, 2025
@PointKernel PointKernel added the feature request New feature or request label Oct 21, 2025
Copy link
Contributor

@davidwendt davidwendt left a 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.

@PointKernel PointKernel added breaking Breaking change and removed non-breaking Non-breaking change labels Nov 3, 2025
@PointKernel PointKernel requested a review from ttnghia November 3, 2025 17:43
Copy link
Contributor

@ttnghia ttnghia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Depends on:

@PointKernel
Copy link
Member Author

/merge

@rapids-bot rapids-bot bot merged commit fa95da6 into rapidsai:main Nov 4, 2025
140 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in cuDF Python Nov 4, 2025
@PointKernel PointKernel deleted the sum-overflow-decimal branch November 4, 2025 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 - Ready for Review Ready for review by team breaking Breaking change CMake CMake build issue feature request New feature or request libcudf Affects libcudf (C++/CUDA) code. Spark Functionality that helps Spark RAPIDS

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

[FEA] overflow detection for SUM aggregations

4 participants