v.22.6Performance Improvement
Improved Aggregation Performance with Sparse Columns in MergeTree Tables
Improved performance of aggregation in case, when sparse columns (can be enabled by experimental settingratio_of_defaults_for_sparse_serializationinMergeTreetables) are used as arguments in aggregate functions. #37617 (Anton Popov).