Skip to content

Commit 128c356

Browse files
davidkohn88Loquacityjacobprall
authored
Aggs can't use named arguments (github#565)
Remove the named args in the counter_agg as they don't work. Co-authored-by: Lana Brindley <github@lanabrindley.com> Co-authored-by: Jacob Prall <prall.jacob@gmail.com>
1 parent 6cd169d commit 128c356

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

timescaledb/how-to-guides/hyperfunctions/counter-aggs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ going on in each part.
8888
with t as (
8989
SELECT measure_id,
9090
time_bucket('15 min'::interval, ts) as bucket,
91-
counter_agg(ts, val, bounds => time_bucket_range('15 min'::interval, ts))
91+
counter_agg(ts, val, time_bucket_range('15 min'::interval, ts))
9292
FROM example
9393
GROUP BY measure_id, time_bucket('15 min'::interval, ts))
9494
SELECT time_bucket,
@@ -122,7 +122,7 @@ out of it.
122122
WITH (timescaledb.continuous)
123123
AS SELECT measure_id,
124124
time_bucket('15 min'::interval, ts) as bucket,
125-
counter_agg(ts, val, bounds => time_bucket_range('15 min'::interval, ts))
125+
counter_agg(ts, val, time_bucket_range('15 min'::interval, ts))
126126
FROM example
127127
GROUP BY measure_id, time_bucket('15 min'::interval, ts);
128128
```

0 commit comments

Comments
 (0)