hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaoyu Tang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-10007) Support qualified table name in analyze table compute statistics for columns
Date Fri, 20 Mar 2015 00:05:39 GMT

     [ 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.1.patch

Fixed three failed tests. 
[~szehon] Thanks for the review and comments. Actually the test cases are mainly to test command
"analyze table compute statistics for columns" for a table in a database different from current
database using qualified table name. So the test running this command in dummydb for a table
in default should be sufficient. But for the test completeness upon your suggestion, I added
a case to compute column stats of a table in a db not of default (dummydb). Thanks.

> 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
>              Labels: TODOC1.2
>         Attachments: HIVE-10007.1.patch, 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)

Mime
View raw message