-
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.
Summary: HashAggregation operator could get into an invalid state where it is not blocked, doesn't need input, but getOutput() returns null. This happened when operator processed a "distinct" aggregation and reached a limit on the amount of memory to use for partial aggregation. This state confused the Driver loop and caused it to complete prematurely. This would result in either wrong results or a crash. The fix is to flush partial aggregation state when reached the limit. Pull Request resolved: #10 Reviewed By: pedroerp Differential Revision: D30203061 Pulled By: mbasmanova fbshipit-source-id: 12a381717462e77d2254490ca01c98920a9b2ad7
- Loading branch information
1 parent
e82f711
commit e06d004
Showing
6 changed files
with
62 additions
and
3 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
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