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

rollup()

Roll up multiple Candlestick aggregates

Since 1.12.0

Combine multiple intermediate candlestick aggregates, produced by candlestick_agg or candlestick, into a single intermediate candlestick aggregate. For example, you can use rollup to combine candlestick aggregates from 15-minute buckets into daily buckets.

The syntax is:

rollup(
candlestick Candlestick
) RETURNS Candlestick
NameTypeDefaultRequiredDescription
candlestickCandlestick-The aggregate produced by a candlestick or candlestick_agg call
ColumnTypeDescription
candlestickCandlestickA new candlestick aggregate produced by combining the input candlestick aggregates