-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance FunctionCallRewriter to support function substitution for multi-signature functions. Change to use Multimap to support one function name mapped to multiple function substitutes. Select the first function substitute where the original function declaration matches. Inherit the filter field and window fields of the original function by the aggregate or window functions in the substitute. Introduce the FunctionAndTypeManager to FunctionCallRewriter to identify aggregate and window functions.
- Loading branch information
Showing
7 changed files
with
595 additions
and
154 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
501 changes: 404 additions & 97 deletions
501
presto-verifier/src/main/java/com/facebook/presto/verifier/rewrite/FunctionCallRewriter.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.