GitHub user wzhfy opened a pull request:
https://github.com/apache/spark/pull/19932
[SPARK-22745][SQL] read partition stats from Hive
## What changes were proposed in this pull request?
Currently Spark can read table stats (e.g. `totalSize, numRows`) from Hive,
we can also support to read partition stats from Hive using the same logic.
## How was this patch tested?
Added a new test case and modified an existing test case.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/wzhfy/spark read_hive_partition_stats
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19932.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 #19932
----
commit 48b81b5065808ffeff99142a03cd59bf54a9ea5d
Author: Zhenhua Wang <[email protected]>
Date: 2017-12-09T08:32:48Z
read partition stats
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]