Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Early hoisting of client-side operations:
- Run `createResultSetMapping` and `hoistClientOps` before comprehension fusion. Hoisting only moves individual operations but does not eliminate entire Bind/Comprehension nodes. By running it early, we can hoist as much as possible and then naturally merge the remaining mappings in `mergeToComprehensions`. - Rewrite `hoistClientOps` to work on unmerged trees, bubbling `Bind` operations that may be eligible for hoisting up to the top level. - Simplify well-typedness checking by removing the option for verifying only the server side. With the new design the entire AST stays well-typed after `expandTables`. - Merge `Filter` operations in the correct order (bottom to top) in `mergeToComprehensions`. - Push `Filter` down into `Union` in `reorderOperations`.
- Loading branch information
Showing
13 changed files
with
140 additions
and
139 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
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.