GitHub user tianyi opened a pull request:
https://github.com/apache/spark/pull/3375
[SPARK-4483][SQL]Optimization about reduce memory costs during the
HashOuterJoin
In `HashOuterJoin.scala`, spark read data from both side of join operation
before zip them together. It is a waste for memory. We are trying to read data
from only one side, put them into a hashmap, and then generate the `JoinedRow`
with data from other side one by one.
Currently, we could only do this optimization for `left outer join` and
`right outer join`. For `full outer join`, we will do somthing in another issue.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tianyi/spark SPARK-4483
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/3375.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 #3375
----
commit 838707dbfc089de25733fd3b91d7116adb47faf9
Author: tianyi <[email protected]>
Date: 2014-11-19T10:03:39Z
Optimization about reduce memory costs during the HashOuterJoin
commit 9e7d5b5dffc43cac0a859d07e3c13431afe6bf0f
Author: tianyi <[email protected]>
Date: 2014-11-19T11:40:22Z
remove commented old codes
----
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]