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

rollup()

Combine multiple MinNBy aggregates

Since 1.16.0

This aggregate combines the aggregates generated by other min_n_by aggregates and returns the minimum values and associated data found across all the aggregated data.

The syntax is:

rollup(
agg MinNBy
) MinNBy
NameTypeDefaultRequiredDescription
aggMinNBy-The aggregates being combined
ColumnTypeDescription
rollupMinNByAn aggregate over all of the contributing values.