forked from facebookincubator/velox
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix min/max(x, n) (facebookincubator#8311)
Summary: In Presto, accumulators of min/max(x, n) do not clear the heap when values are extracted from accumulator. But in Velox they do. Fix this bug to make Velox behavior align with Presto. This diff fixes facebookincubator#8138. Differential Revision: D52638334
- Loading branch information
1 parent
4fd8186
commit 087fd23
Showing
2 changed files
with
53 additions
and
16 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