GitHub user jurriaan opened a pull request:
https://github.com/apache/spark/pull/13244
[SPARK-15415][SQL] Fix BroadcastHint when autoBroadcastJoinThreshold is 0
or -1
## What changes were proposed in this pull request?
This PR makes BroadcastHint more deterministic by using a special
isBroadcastable property
instead of setting the sizeInBytes to 1.
See https://issues.apache.org/jira/browse/SPARK-15415
## How was this patch tested?
Added testcases to test if the broadcast hash join is included in the plan
when the BroadcastHint is supplied and also tests for propagation of the joins.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jurriaan/spark broadcast-hint
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13244.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 #13244
----
commit 8b9bf515423fa422d3c8436097acd87c4d09b733
Author: Jurriaan Pruis <[email protected]>
Date: 2016-05-21T19:18:54Z
[SPARK-15415][SQL] Fix BroadcastHint when autoBroadcastJoinThreshold is low
or disabled
This makes BroadcastHint more deterministic by using a special
isBroadcastable property
instead of setting the sizeInBytes to 1
----
---
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]