[
https://issues.apache.org/jira/browse/HIVE-14729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15478495#comment-15478495
]
Pengcheng Xiong commented on HIVE-14729:
----------------------------------------
turn auto column stats collection flag on :)
> 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)