Skip to content
Join us at Tiger Data Aggregate 2026 for workshops, talks, and networking.

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.