[ 
https://issues.apache.org/jira/browse/HIVE-10007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chaoyu Tang updated HIVE-10007:
-------------------------------
    Attachment: HIVE-10007.patch

I found that besides the command "analyze table .. compute statistics for 
columns", the command "alter table .. update statistics for column" also does 
not support the qualified table name. 
This patch provides the qualified table name support to both of these commands.
I have requested a review on RB https://reviews.apache.org/r/32254/ . Thanks 
for review in advance.

> Support qualified table name in analyze table compute statistics for columns
> ----------------------------------------------------------------------------
>
>                 Key: HIVE-10007
>                 URL: https://issues.apache.org/jira/browse/HIVE-10007
>             Project: Hive
>          Issue Type: Improvement
>          Components: Query Processor, Statistics
>    Affects Versions: 1.0.0
>            Reporter: Chaoyu Tang
>            Assignee: Chaoyu Tang
>         Attachments: HIVE-10007.patch
>
>
> Currently "analyze table compute statistics for columns" command can not 
> compute column stats for a table in a different database since it does not 
> support qualified table name. You need switch to that table database in order 
> to compute its column stats. For example, you have to "use psqljira", then 
> "analyze table src compute statistics for columns" for the table src under 
> psqljira.
> This JIRA will provide the support to qualified table name in analyze column 
> stats command.



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

Reply via email to