[
https://issues.apache.org/jira/browse/HIVE-27994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhihua Deng updated HIVE-27994:
-------------------------------
Description:
In case of table rename, every row in PART_COL_STATS associated with the table
should be fetched, stored in memory, delete & re-insert with new db/table name,
this could take hours if the table has thousands of column statistics in
PART_COL_STATS.
was:
In case of table rename, every row in PART_COL_STATS associated with the table
should be fetched, stored in memory, delete & re-insert with new db/table name,
this could take hours if the table have thousands of column statistics in
PART_COL_STATS.
> Optimize renaming the partitioned table
> ---------------------------------------
>
> Key: HIVE-27994
> URL: https://issues.apache.org/jira/browse/HIVE-27994
> Project: Hive
> Issue Type: Improvement
> Reporter: Zhihua Deng
> Assignee: Zhihua Deng
> Priority: Major
>
> In case of table rename, every row in PART_COL_STATS associated with the
> table should be fetched, stored in memory, delete & re-insert with new
> db/table name, this could take hours if the table has thousands of column
> statistics in PART_COL_STATS.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)