GitHub user gatorsmile opened a pull request:

    https://github.com/apache/spark/pull/15158

    [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 https://github.com/gatorsmile/spark partitionedTableStatistics

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

    https://github.com/apache/spark/pull/15158.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 #15158
    
----
commit 061e60b3af819f235e531b1de24f136a431dc23c
Author: gatorsmile <gatorsm...@gmail.com>
Date:   2016-09-20T04:49:51Z

    fix.

----


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

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to