This repository has been archived by the owner on Jan 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #707 This PR implements LEFT and RIGHT join. Initial issue only required LEFT join, but the effort to also add support to RIGHT join was minimal, so it was added as well. The join iterator, previously inner join iterator, has been generalized so it can work for all joins and share all the logic in a single component instead of having three iterators handling the complex logic of how to compute the joins (in memory, multipass, etc). The nodes, however, have very subtle differences that make it worthless to abstract because most methods need to be different. The only abstractable part was the RowIter method, which was extracted to a function that's called from InnerJoin, LeftJoin and RightJoin nodes. Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
- Loading branch information
1 parent
746eb11
commit 1158b47
Showing
8 changed files
with
851 additions
and
394 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.