-
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.
Introduce DecimalUtil::adjustSumForOverflow helper method (#7334)
Summary: The sum aggregate function in Spark and Presto uses this logic to adjust the sum computed via DecimalUtil::addWithOverflow. Pull Request resolved: #7334 Reviewed By: pedroerp Differential Revision: D51157206 Pulled By: mbasmanova fbshipit-source-id: 6cb34fd2dec9190e75fc9f4edcc5f885d19c7c7d
- Loading branch information
1 parent
0821530
commit 8550a15
Showing
3 changed files
with
103 additions
and
17 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
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