GitHub user gatorsmile opened a pull request:

    [SPARK-17603] [SQL] Utilize Hive-generated Statistics For Partitioned Tables

    ### What changes were proposed in this pull request?
    For non-partitioned tables, Hive-generated statistics are stored in table 
properties. However, for partitioned tables, Hive-generated statistics are 
stored in partition properties. Thus, we are unable to utilize the 
Hive-generated statistics for partitioned tables. 
    The statistics might not be gathered for all the partitions in Hive. For 
partial collection, we will not utilize the Hive-generated statistics.
    ### How was this patch tested?
    Added test cases.

You can merge this pull request into a Git repository by running:

    $ git pull partitionedTableStatistics

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #15158
commit 061e60b3af819f235e531b1de24f136a431dc23c
Author: gatorsmile <>
Date:   2016-09-20T04:49:51Z



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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to