These settings are available in system.settings and are autogenerated from the ClickHouse snapshot.
collect_hash_table_stats_during_aggregation
Enable collecting hash table statistics to optimize memory allocation
collect_hash_table_stats_during_joins
Enable collecting hash table statistics to optimize memory allocation