-
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
da8b01a
commit 089437a
Showing
2 changed files
with
93 additions
and
15 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