Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix invalid bucket calculation HashPartitionMaskOperator
Math.abs returns a negative value for MIN_INT, so when this hash value is later modded to choose a bucket, the bucket is also negative. In the HashPartitionMaskOperator this means the value is a member of no buckets and the value is skipped. The HashPartitionMaskOperator is only used for the experimental local parallel aggregations optimization so this not a high impact bug.
- Loading branch information
Showing
2 changed files
with
6 additions
and
5 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