rollup()
Roll up multiple hyperloglogs
Since 1.3.0
Combine multiple intermediate hyperloglog aggregates, produced by
hyperloglog, into a single intermediate hyperloglog aggregate. For example,
you can use rollup to combine hyperloglog from 15-minute buckets into
daily buckets.
Arguments
Section titled “Arguments”The syntax is:
rollup( hyperloglog Hyperloglog) RETURNS Hyperloglog| Name | Type | Default | Required | Description |
|---|---|---|---|---|
hyperloglog | Hyperloglog | - | ✔ | The hyperloglog aggregates to roll up. |
Returns
Section titled “Returns”| Column | Type | Description |
|---|---|---|
| rollup | Hyperloglog | A new hyperloglog aggregate created by combining the input hyperloglog aggregates. |