Skip to content

rollup()

Combine multiple MaxN aggregates

Since 1.16.0

This aggregate combines the aggregates generated by other max_n aggregates and returns the maximum values found across all the aggregated data.

The syntax is:

rollup(
agg MaxN
) MaxN
NameTypeDefaultRequiredDescription
aggMaxN-The aggregates being combined
ColumnTypeDescription
rollupMaxNAn aggregate over all of the contributing values.