rollup()
Combine multiple counter aggregates
Since 1.3.0
This function combines multiple counter aggregates into one. This can be used to combine aggregates from adjacent intervals into one larger interval, such as rolling daily aggregates into a weekly or monthly aggregate.
Arguments
Section titled “Arguments”The syntax is:
rollup( cs CounterSummary) RETURNS CounterSummary| Name | Type | Default | Required | Description |
|---|---|---|---|---|
cs | CounterSummary | - | ✔ | A counter aggregate created using counter_agg |
Returns
Section titled “Returns”| Column | Type | Description |
|---|---|---|
| rollup | CounterSummary | A new counter aggregate created by combining the input counter aggregates |