v.1.1.54337New Feature

Enhancement: Support AggregateFunction Argument in groupArray

Added the possibility to pass an argument of type AggregateFunction for the groupArray aggregate function (so you can create an array of states of some aggregate function).
Added support for passing AggregateFunction type arguments to the groupArray aggregate function, enabling creation of arrays containing states of aggregate functions.

Why it matters

This feature was created to allow users to collect intermediate aggregate states into arrays, which facilitates advanced aggregation workflows, partial aggregation handling, and custom aggregate processing. It provides more flexibility in data aggregation and post-processing.

How to use it

Use the groupArray function with an argument of type AggregateFunction. For example, you can create an array of aggregation states by passing an AggregateFunction argument to groupArray, like groupArray(AggregateFunction(...)), allowing you to store states of aggregates instead of raw values.