diff options
author | Jurriaan Pruis <email@jurriaanpruis.nl> | 2016-05-21 23:01:14 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-05-21 23:01:14 -0700 |
commit | 223f6339088434eb3590c2f42091a38f05f1e5db (patch) | |
tree | 0ae551a262d4b35f10603f53061f5be2a2ac642c /docs/sql-programming-guide.md | |
parent | df9adb5ec994f054b2fa58e492867bbc5a60c234 (diff) | |
download | spark-223f6339088434eb3590c2f42091a38f05f1e5db.tar.gz spark-223f6339088434eb3590c2f42091a38f05f1e5db.tar.bz2 spark-223f6339088434eb3590c2f42091a38f05f1e5db.zip |
[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.
Author: Jurriaan Pruis <email@jurriaanpruis.nl>
Closes #13244 from jurriaan/broadcast-hint.
Diffstat (limited to 'docs/sql-programming-guide.md')
0 files changed, 0 insertions, 0 deletions