These settings are available in system.settings and are autogenerated from the ClickHouse snapshot.
max_number_of_partitions_for_independent_aggregation
Maximal number of partitions in table to apply independent aggregation per partition. Part of the cost heuristic of allow_aggregate_partitions_independently.
max_number_of_partitions_for_independent_distinct
Maximal number of partitions in table to apply independent DISTINCT per partition. Part of the cost heuristic of allow_distinct_partitions_independently.
max_number_of_partitions_for_independent_window
Maximal number of partitions in table to apply independent evaluation of window functions per partition. Part of the cost heuristic of allow_window_partitions_independently.