v.25.12Improvement

Add a setting for Iceberg to prevent

Add a setting for Iceberg to prevent large partitions count. #90365 (Konstantin Vedernikov).
Added a new setting for Iceberg tables to limit the maximum number of partitions, preventing excessive partition counts.

Why it matters

This feature addresses the problem of managing Iceberg tables with an excessively large number of partitions, which can degrade query performance and increase metadata overhead. By limiting partition counts, users gain better control over table performance and resource usage.

How to use it

Users can enable this feature by configuring the new setting specific to Iceberg tables that sets an upper limit on partition numbers. This is done through ClickHouse settings configuration prior to executing operations on Iceberg tables.