rollup()
Combine multiple MaxNBy aggregates
Since 1.16.0
This aggregate combines the aggregates generated by other max_n_by
aggregates and returns the maximum values and associated data found
across all the aggregated data.
Arguments
Section titled “Arguments”The syntax is:
rollup( agg MaxNBy) MaxNBy| Name | Type | Default | Required | Description |
|---|---|---|---|---|
agg | MaxNBy | - | ✔ | The aggregates being combined |
Returns
Section titled “Returns”| Column | Type | Description |
|---|---|---|
| rollup | MaxNBy | An aggregate over all of the contributing values. |