Chaoyu Tang created HIVE-11788: ---------------------------------- Summary: Column stats should be preserved after db/table/partitoin 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)