Skip to content

Commit

Permalink
fix: correct time_bucket_range code example. (#3257)
Browse files Browse the repository at this point in the history
  • Loading branch information
billy-the-fish authored Jun 21, 2024
1 parent a264e99 commit 2fbf01e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion use-timescale/hyperfunctions/counter-aggs.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ going on in each part.
with t as (
SELECT measure_id,
time_bucket('15 min'::interval, ts) as bucket,
counter_agg(ts, val, time_bucket_range('15 min'::interval, ts))
counter_agg(ts, val, toolkit_experimental.time_bucket_range('15 min'::interval, ts))
FROM example
GROUP BY measure_id, time_bucket('15 min'::interval, ts))
SELECT time_bucket,
Expand Down

0 comments on commit 2fbf01e

Please sign in to comment.