Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【Hive】Change the table update calling method to alter_table_with_environmen… #4548

Closed
wants to merge 1 commit into from

Conversation

GangYang-HX
Copy link
Contributor

Purpose

When metastore=hive, if the number of table fields is large (1600+) and there are many files, MetaStoreUtils.updateTableStatsSlow is executed by default to update table statistics, but Paimon has its own statistics and does not need to rely on hive.

Therefore, an option is provided to control whether to update Hive table statistics by the business

Linked issue: Issue-4507

API and Format

org.apache.paimon.hive.HiveCatalog#alterTableToHms

…tContext, and then set DO_NOT_UPDATE_STATS to prohibit updating hive table statistics.
@GangYang-HX GangYang-HX deleted the issue-4507 branch November 19, 2024 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant