wzx140 opened a new pull request, #8210: URL: https://github.com/apache/paimon/pull/8210
### Purpose When Paimon alters a Hive table, it unconditionally sets `StatsSetupConst.CASCADE = "true"` in the `EnvironmentContext`, which makes Hive cascade the schema change to every partition. On large partitioned tables this can be expensive, and there is currently no way to turn it off. This PR adds a new catalog option `alter-table-cascade` (default `true`, preserving the current behavior) to control whether the cascade is applied. Set `alter-table-cascade=false` to skip cascading schema changes to partitions. ### Tests - Added `HiveAlterTableUtilsTest` covering the cascade and non-cascade paths. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
