Skip to content

Conversation

@DanielZhu58
Copy link
Contributor

What changes were proposed in this pull request?

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.
This is the part2 with the parameter COL_STATS_ACCURATE related changes.

Why are the changes needed?

This can give the users potential options to clear the unnecessary stats.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Manual tests and unit tests.

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants