GitHub user gao8658 opened a pull request:
https://github.com/apache/spark/pull/1134
SparkSQL add SkewJoin
Hi all,
I want to submit a SkewJoin operator in SparkSql joins.scala.
In some case ,data skew happens.SkewJoin sample the table rdd to find the
largest key,then make the largest key
rows as a table rdd.The streamed rdd will be made as mainstreamedtable rdd
without the largest key and the maxkeystreamedtable rdd
with the largest key.
Then,join the two table with the buildtable.
Finally,union the two result rdd.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gao8658/spark patch-3
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/1134.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 #1134
----
commit 5b791010f7e72d74cb23ecf18c72ca3cb7afd013
Author: Yanjie Gao <[email protected]>
Date: 2014-06-19T12:20:21Z
SparkSQL add SkewJoin
Hi all,
I want to submit a SkewJoin operator in SparkSql joins.scala.
In some case ,data skew happens.SkewJoin sample the table rdd to find the
largest key,then make the largest key
rows as a table rdd.The streamed rdd will be made as mainstreamedtable rdd
without the largest key and the maxkeystreamedtable rdd
with the largest key.
Then,join the two table with the buildtable.
Finally,union the two result rdd.
----
---
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.
---