-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite some common reduce patterns with array_sum and transform (#10406
) Summary: Pull Request resolved: #10406 Lambda expression in Velox is interpreted instead of compiled like in Presto Java, this makes us losing in performance in places like `reduce`. By rewriting some common patterns of `reduce`, we improve the performance significantly (more than 45x on a query). Also fix a bug in `TryExpr` where we are not checking enough space for result nulls. bypass-github-export-checks Reviewed By: oerling Differential Revision: D59406443 fbshipit-source-id: db47dcc3ab29b5a61fca83054cf60f6897b3f7a0
- Loading branch information
1 parent
3d19d04
commit 19be763
Showing
9 changed files
with
378 additions
and
41 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
Oops, something went wrong.