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] [Commented] (HIVE-11788) Column stats should be preserved after db/table/partition rename
Date Thu, 15 Oct 2015 21:28:05 GMT

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

Chaoyu Tang commented on HIVE-11788:
------------------------------------

Leaving the columns of db/table/partition name in these stats tables might help to improve
the performance in retrieving stats data. We need update these columns when doing rename db/table/partition.

> Column stats should be preserved after db/table/partition rename
> ----------------------------------------------------------------
>
>                 Key: HIVE-11788
>                 URL: https://issues.apache.org/jira/browse/HIVE-11788
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore, Statistics
>            Reporter: Chaoyu Tang
>            Assignee: Chaoyu Tang
>
> Currently we simply delete the column stats after renaming a database, table, or partition
since there was not an easy way in HMS to update the DB_NAME, TABLE_NAME and PARTITION_NAME
in TAB_COL_STATS and PART_COL_STATS. With the removal of these redundant columns in these
tables (HIVE-11786), we will still keep column stats in the operation which is not to change
a column name or type.



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

Mime
View raw message