Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions migration/idempotent/001-base.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1422,15 +1422,15 @@ BEGIN
RETURN true;
END IF;

RAISE NOTICE 'Resetting data retention period for all metrics with underlying continuous aggregate %.%', _cagg_schema, cagg_name;
RAISE NOTICE 'Resetting data retention period for all metrics with underlying continuous aggregate %.%', _cagg_schema, _cagg_name;

FOR r IN
SELECT m.*
FROM information_schema.view_table_usage v
INNER JOIN _prom_catalog.metric m
ON (m.table_name = v.view_name AND m.table_schema = v.view_schema)
WHERE v.table_name = _cagg_name
AND v.table_schema = _cagg_schem
AND v.table_schema = _cagg_schema
LOOP
RAISE NOTICE 'Resetting data retention for metrics %.%', r.table_schema, r.metric_name;

Expand Down