-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check for overflow in sum aggregate function
This patch adds changes to check for overflow on every update operation in the sum aggregate function. This is only implemented for integer types as floating points get set to infinity once they overflow, which is a valid result. Test Plan: Verified that this causes no performance regression by running existing aggregation benchmark. Also added a unit test for the same.
- Loading branch information
1 parent
e150299
commit bb32e7f
Showing
2 changed files
with
74 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters