[ 
https://issues.apache.org/jira/browse/HIVE-7168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14021060#comment-14021060
 ] 

Lefty Leverenz commented on HIVE-7168:
--------------------------------------

This should be documented with a Hive 0.14 release note in the wiki:

* [Statistics in Hive -- Existing Tables | 
https://cwiki.apache.org/confluence/display/Hive/StatsDev#StatsDev-ExistingTables]

{code}
ANALYZE TABLE tablename [PARTITION(partcol1[=val1], partcol2[=val2], ...)] 
COMPUTE STATISTICS [noscan];
{code}
{quote}
When the user issues that command, he may or may not specify the partition 
specs. If the user doesn't specify any partition specs, statistics are gathered 
for the table as well as all the partitions (if any). If certain partition 
specs are specified, then statistics are gathered for only those partitions. 
When computing statistics across all partitions, the partition columns still 
need to be listed.
{quote}

> Don't require to name all columns in analyze statements if stats collection 
> is for all columns
> ----------------------------------------------------------------------------------------------
>
>                 Key: HIVE-7168
>                 URL: https://issues.apache.org/jira/browse/HIVE-7168
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>             Fix For: 0.14.0
>
>         Attachments: HIVE-7168.1.patch, HIVE-7168.2.patch, HIVE-7168.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to