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

Hongdan Zhu commented on HIVE-28655:
------------------------------------

This PR is not very related to migrate the Hive metadata.



Normally we can use export/import command, or use schematool command, or use 
Metastore Migration Scripts to migrate the Hive metadata.

Yes, we can skip to migrate the stats in migrating the table/partition metadata.

> Implement HMS Related Drop Stats Changes
> ----------------------------------------
>
>                 Key: HIVE-28655
>                 URL: https://issues.apache.org/jira/browse/HIVE-28655
>             Project: Hive
>          Issue Type: Task
>            Reporter: Hongdan Zhu
>            Assignee: Hongdan Zhu
>            Priority: Major
>              Labels: pull-request-available
>
> We need a way to drop the stats associated with the table/partition and its 
> columns. This can help a lot in migration or replication where the stats data 
> take huge time to copy. Particularly when the table is partitioned, we have 
> stats rows for each table, partition, column combination, which can get huge 
> when the number of partitions is huge.
> This is the HMS side changes.
> Part of the Apache Jira:
> https://issues.apache.org/jira/browse/HIVE-28170



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to