Skip to content

Commit

Permalink
feat: add old-form partial continuous aggregate count
Browse files Browse the repository at this point in the history
Partial-form continuous aggregates will cause issues when migrated
across pg versions:
 - timescale/timescaledb#4403
 - timescale/timescaledb#4937.

Partial-form continuous aggregates must be [migrated] to the finalized
form in the source database, before a migration can be carried out.

[migrated]: https://docs.timescale.com/use-timescale/latest/continuous-aggregates/migrate/
  • Loading branch information
JamesGuthrie committed Apr 4, 2024
1 parent bb70b77 commit 4ec4cc8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,10 @@
}, {
"name": "Num TimescaleDB Continuous Aggregates",
"query": "select count(*) from timescaledb_information.continuous_aggregates",
}, {
}, {
"name": "Num old partial-form Continuous Aggregates",
"query": "select count(*) from timescaledb_information.continuous_aggregates where not finalized",
}, {
"name": "Num TimescaleDB space dimensions",
"query": "select count(*) from timescaledb_information.dimensions where dimension_type = 'Space'",
}, {
Expand Down

0 comments on commit 4ec4cc8

Please sign in to comment.