GitHub user lianhuiwang opened a pull request:
https://github.com/apache/spark/pull/13373
[SPARK-15616] [SQL] Metastore relation should fallback to HDFS size of
partitions that are involved in Query if statistics are not available.
## What changes were proposed in this pull request?
Currently if some partitions of a partitioned table are used in join
operation we rely on Metastore returned size of table to calculate if we can
convert the operation to Broadcast join.
if Filter can prune some partitions, Hive can prune partition before
determining to use broadcast joins according to HDFS size of partitions that
are involved in Query.So sparkSQL needs it that can improve join's performance
for partitioned table.
## How was this patch tested?
integration tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lianhuiwang/spark partition_broadcast
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13373.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 #13373
----
commit 0570a1a1c62df6de97f6e89dc30d8f80e04cfeae
Author: Lianhui Wang <[email protected]>
Date: 2016-05-28T02:04:22Z
init commit
commit afbe93787542bdfe83a8961ef6d8b34e8eef9926
Author: Lianhui Wang <[email protected]>
Date: 2016-05-28T02:13:21Z
Merge branch 'apache-master' into partition_broadcast
commit 77737f13063f9d8cdd924e16f7f543bd7fd34598
Author: Lianhui Wang <[email protected]>
Date: 2016-05-28T05:38:51Z
update
----
---
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]