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
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