v.20.5New Feature
SimpleAggregateFunction Now Supports sumMap
SimpleAggregateFunctionnow also supportssumMap. #10000 (Ildus Kurbangaliev).
Why it matters
This feature allows users to leverage thesumMap aggregate function inside SimpleAggregateFunction, simplifying the creation of aggregate functions that combine mapping and summation behavior efficiently. It enhances flexibility and expands the set of aggregate functions compatible with SimpleAggregateFunction, providing more powerful aggregation options.How to use it
UseSimpleAggregateFunction by specifying sumMap as the inner aggregate function, for example: SimpleAggregateFunction('sumMap', ...). This enables aggregation using the sumMap logic wrapped within the SimpleAggregateFunction interface.