Skip to content

[hive] Add hive.skip-update-stats config option to control DO_NOT_UPDATE_STATS in HiveCatalog alter table#7686

Open
cxzl25 wants to merge 3 commits intoapache:masterfrom
cxzl25:hive_DO_NOT_UPDATE_STATS
Open

[hive] Add hive.skip-update-stats config option to control DO_NOT_UPDATE_STATS in HiveCatalog alter table#7686
cxzl25 wants to merge 3 commits intoapache:masterfrom
cxzl25:hive_DO_NOT_UPDATE_STATS

Conversation

@cxzl25
Copy link
Copy Markdown
Contributor

@cxzl25 cxzl25 commented Apr 22, 2026

Purpose

Commit 989a433 introduced a fix to avoid excessive HMS memory usage during alter table by setting DO_NOT_UPDATE_STATS in the EnvironmentContext. However, commit 8688206 later rewrote HiveAlterTableUtils for Hive 1.x compatibility and hardcoded DO_NOT_UPDATE_STATS to "false", breaking the previous fix.

#4549

Tests

Fix HiveTableStatsTest, the originally implemented Test does not take effect.

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