GitHub user sirpkt opened a pull request:
https://github.com/apache/tajo/pull/513
TAJO-1525: Implement INTERSECT ALL physical operator
This patch implements sort based INTERSECT ALL physical operator.
INTERSECT ALL operator has two input physical operators that should return
rows sorted by all the schema columns.
Then, it iterates results of both children operators and returns the common
rows from both.
- SetTupleComparator is implemented to compare the whole columns of given
two tuples.
- Test code is also included, which tests INTERSECT ALL exec by replacing
inner join with it. It is somewhat tricky, however, useful way when Logical
Planner and Global Planner are not ready for INTERSECT [ALL].
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sirpkt/tajo TAJO-1525
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tajo/pull/513.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #513
----
commit fdba6a66a8bb71fee14468929251cb87c624ff27
Author: Keuntae Park <[email protected]>
Date: 2015-04-06T06:41:38Z
Implement SortIntersetAllExec, sort based INTERSECT ALL physical operator
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---