Fabrízio de Royes Mello 5a359ac660 Remove metadata when dropping chunk
Historically we preserve chunk metadata because the old format of the
Continuous Aggregate has the `chunk_id` column in the materialization
hypertable so in order to don't have chunk ids left over there we just
mark it as dropped when dropping chunks.

In #4269 we introduced a new Continuous Aggregate format that don't
store the `chunk_id` in the materialization hypertable anymore so it's
safe to also remove the metadata when dropping chunk and all associated
Continuous Aggregates are in the new format.

Also added a post-update SQL script to cleanup unnecessary dropped chunk
metadata in our catalog.

Closes #6570
2024-02-16 10:45:04 -03:00
..
2023-11-15 12:17:33 -03:00
2023-11-04 13:29:02 -03:00
2024-02-16 10:45:04 -03:00
2023-10-09 09:10:04 -03:00
2022-09-23 11:40:48 +03:00
2022-09-23 11:40:48 +03:00
2023-11-04 13:29:02 -03:00
2024-01-22 09:18:26 +01:00