You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2016/09/09 22:23:20 UTC

[jira] [Created] (HIVE-14729) analyze table compute stats for columns should collect basic stats as well

Ashutosh Chauhan created HIVE-14729:
---------------------------------------

             Summary: analyze table compute stats for columns should collect basic stats as well
                 Key: HIVE-14729
                 URL: https://issues.apache.org/jira/browse/HIVE-14729
             Project: Hive
          Issue Type: Improvement
          Components: Statistics
            Reporter: Ashutosh Chauhan


Currently user need to run following two statements to collect stats:
{code}
analyze table T compute statistics;
analyze table T compute statistics for columns;
{code}

Its little confusing for users that they need to collect both stats. Since basic stats are cheap to compute, we should collect them even in case of column stats, so that by running single statement users can get all stats. This leaves with the possibility of fast basic stats collection with first statement which will be good to have.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)