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.
Limit array size in reduce Presto function (facebookincubator#8698)
Summary: reduce lambda function is not very efficient and uses a lot of CPU and wall time when applied to huge arrays. Add a limit of 10,000 elements per array. Pull Request resolved: facebookincubator#8698 Reviewed By: Yuhta Differential Revision: D53518840 Pulled By: mbasmanova fbshipit-source-id: e64f9ec317e46ac60cc356f2197b6c8f5a215285
- Loading branch information
1 parent
049eef3
commit f7a64c4
Showing
3 changed files
with
100 additions
and
21 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