Skip to content

Commit 84828fe

Browse files
authored
Merge pull request #834 from xyztony/patch-1
Doc fix: broken continuous aggregates ref in T-Digest
2 parents 2b36a84 + 16da1f2 commit 84828fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/tdigest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ TimescaleDB Toolkit provides an implementation of the [t-digest data structure](
1212

1313
## Details <a id="tdigest-details"></a>
1414

15-
Timescale's t-digest is implemented as an aggregate function in PostgreSQL. They do not support moving-aggregate mode, and are not ordered-set aggregates. Presently they are restricted to float values, but the goal is to make them polymorphic. They are partializable and are good candidates for [continuous aggregation](https://docs.timescale.com/latest/using-timescaledb/continuous-aggregates).
15+
Timescale's t-digest is implemented as an aggregate function in PostgreSQL. They do not support moving-aggregate mode, and are not ordered-set aggregates. Presently they are restricted to float values, but the goal is to make them polymorphic. They are partializable and are good candidates for [continuous aggregation](https://docs.timescale.com/use-timescale/latest/continuous-aggregates/).
1616

1717
One additional thing to note about TDigests is that they are somewhat dependent on the order of inputs. The percentile approximations should be nearly equal for the same underlying data, especially at the extremes of the quantile range where the TDigest is inherently more accurate, they are unlikely to be identical if built in a different order. While this should have little effect on the accuracy of the estimates, it is worth noting that repeating the creation of the TDigest might have subtle differences if the call is being parallelized by Postgres. Similarly, building a TDigest by combining several subdigests using the [summary aggregate](#tdigest-summary) is likely to produce a subtley different result than combining all of the underlying data using a single [point aggregate](#tdigest).
1818

@@ -94,7 +94,7 @@ FROM high_temp;
9494
```
9595

9696
## Example Using TimeScale Continuous Aggregates (tdigest-cagg-example)
97-
Timescale [continuous aggregates](https://docs.timescale.com/latest/using-timescaledb/continuous-aggregates)
97+
Timescale [continuous aggregates](https://docs.timescale.com/use-timescale/latest/continuous-aggregates/)
9898
provide an easy way to keep a tdigest up to date as more data is added to a table. The following example
9999
shows how this might look in practice. The first step is to create a Timescale hypertable to store our data.
100100

0 commit comments

Comments
 (0)