forked from facebookincubator/velox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix integer overflow failure in spark SumAggregationTest (facebookinc…
…ubator#9964) Summary: Pull Request resolved: facebookincubator#9964 When summing up integers, the spark_sum() function intentionally handles integer overflow by letting the integer value wrap around (relying on the compiler implementation). However, signed integer overflow is an undefined behavior, so the undefined behavior sanitizer catches this issue and fails the test. This diff turns off the undefined behavior sanitizer in the spark_sum() function to avoid unit test failures. Reviewed By: bikramSingh91 Differential Revision: D57893466 fbshipit-source-id: 412b42245a4d0d7b19b88cd4290384d2383496f0
- Loading branch information
1 parent
4937148
commit 3f9d0c8
Showing
3 changed files
with
35 additions
and
4 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