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.
Enable kLeftSemiFilter and kRightSemiFilter join type in SMJ (faceboo…
…kincubator#9877) Summary: The kLeftSemiFilter and kRightSemiFilter Join can leverage the logic of the Inner Join with two key modifications: 1. Even if there are duplicate records in the right/left table, the corresponding records from the left/right table should only appear once in the final result. 2. The final output should exclude all records from the right/left table. Since the rightProjections/leftProjections of the leftSemiFilter/rightSemiFilter are empty [here](https://github.com/facebookincubator/velox/blob/main/velox/exec/MergeJoin.cpp#L69), it will not copy the results from the right/left side into the final output [here](https://github.com/facebookincubator/velox/blob/main/velox/exec/MergeJoin.cpp#L270). Pull Request resolved: facebookincubator#9877 Reviewed By: bikramSingh91 Differential Revision: D57917728 Pulled By: pedroerp fbshipit-source-id: 6b0a6f72b52d7ad1b7e13c9ec80bd8c87293945a
- Loading branch information
1 parent
5b52dca
commit 4937148
Showing
3 changed files
with
72 additions
and
3 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