GitHub user zuyu opened a pull request:
https://github.com/apache/incubator-quickstep/pull/257
Added Partition Rule for HashJoin.
This PR substitutes #241 to add support for partitioned hash join. The rule
adds repartitions if needed as follows:
```
/*
* Whether left or right side needs to repartition.
*
*
--------------------------------------------------------------------------
* | Right \ Left | No Partition | Hash Partition h' | Other
Partition |
*
--------------------------------------------------------------------------
* | No Partition | false \ false | false \ false | true \
true |
*
--------------------------------------------------------------------------
* | Hash Partition h | false \ true | false* \ false | false \
true |
*
--------------------------------------------------------------------------
* | Other Partition | true \ true | true \ false | true \
true |
*
--------------------------------------------------------------------------
*
* Hash Partition h / h': the paritition attributes are as the same
as the join attributes.
* *: If h and h' has different number of partitions, the left side
needs to repartition.
*/
```
Assigned to @jianqiao.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zuyu/incubator-quickstep
partition-rule-for-hash-join
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-quickstep/pull/257.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 #257
----
commit 46f514dcd5d22ab3cecaa8dcb2446ebdd8dba6e7
Author: Zuyu Zhang <[email protected]>
Date: 2017-06-14T02:50:41Z
Added Partition Rule for HashJoin.
----
---
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.
---