GitHub user sirpkt opened a pull request:
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
Alternatively you can review and apply these changes as the patch at:
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
Author: Keuntae Park <firstname.lastname@example.org>
Implement SortIntersetAllExec, sort based INTERSECT ALL physical operator