---
title: rollup() | Tiger Data Docs
description: Roll up multiple hyperloglogs
---

Since [1.3.0](https://github.com/timescale/timescaledb-toolkit/releases/tag/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

The syntax is:

```
rollup(
  hyperloglog Hyperloglog
) RETURNS Hyperloglog
```

| Name          | Type        | Default | Required | Description                            |
| ------------- | ----------- | ------- | -------- | -------------------------------------- |
| `hyperloglog` | Hyperloglog | -       | ✔        | The hyperloglog aggregates to roll up. |

## Returns

| Column | Type        | Description                                                                        |
| ------ | ----------- | ---------------------------------------------------------------------------------- |
| rollup | Hyperloglog | A new hyperloglog aggregate created by combining the input hyperloglog aggregates. |
