v.1.1.54310New Feature

Extraction of Nested Column Processing Logic for -Map in SummingMergeTree to sumMap Function

The processing logic for Nested columns with names ending in -Map in a SummingMergeTree table was extracted to the sumMap aggregate function. You can now specify such columns explicitly.
Extracts the processing logic for Nested columns with names ending in -Map in SummingMergeTree tables into a new aggregate function called sumMap, allowing explicit specification of such columns.

Why it matters

This feature was created to modularize and clarify the handling of Nested columns named with the suffix -Map in SummingMergeTree tables. It solves the problem of implicit and hard-to-manage logic by providing an explicit aggregate function, improving usability and flexibility for users working with aggregated map data in SummingMergeTree tables.

How to use it

Users can now explicitly apply the sumMap aggregate function to Nested columns with -Map suffix in their SummingMergeTree tables when performing aggregation operations. Instead of relying on implicit internal handling, they can specify sumMap(column_name) in their SELECT queries to correctly sum map-typed data.