GitHub user navis opened a pull request:

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

    [SPARK-8312] [SQL] Populate statistics info of hive tables if it's needed 
to be

    Currently, spark-sql uses stats in metastore for estimating size of hive 
table, which means analyze command should be executed before accessing the 
table for better planning especially for joins. But still with the stats, it 
cannot reflect real input size of the query when partition prunning predicate 
exists in it.
    
    Even worse is that hive cannot update metastore stats for external tables, 
which is fixed recently in HIVE-6727. The issue detail says the bug is applied 
to all hive version between 0.13.0 and 1.2.0

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

    $ git pull https://github.com/navis/spark SPARK-8312

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

    https://github.com/apache/spark/pull/6767.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 #6767
    
----
commit 5f83ef24d05d1e122683fd90e3b4d9938899a541
Author: navis.ryu <[email protected]>
Date:   2015-06-11T21:27:40Z

    [SPARK-8312] [SQL] Populate statistics info of hive tables if it's needed 
to be

----


---
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]

Reply via email to