-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
opt: Hoist Exists operator and try to decorrelate
Transform EXISTS clause in WHERE clauses into a SemiJoinApply or AntiSemiJoinApply operator. Additional rules will attempt to decorrelate the right operand of the Apply by pushing the Apply down through any Select operator. Example: SELECT * FROM a WHERE EXISTS(SELECT * FROM b WHERE a.x=b.x) => SELECT * FROM a SEMI JOIN APPLY (SELECT * FROM b WHERE a.x=b.x) => SELECT * FROM a SEMI JOIN b WHERE a.x=b.x Release note: None
- Loading branch information
1 parent
3d13e28
commit 36e5213
Showing
11 changed files
with
732 additions
and
74 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
Oops, something went wrong.