timescale / timescaledb

An open-source time-series SQL database optimized for fast ingest and complex queries. Packaged as a PostgreSQL extension.
https://www.timescale.com/
Other
16.82k stars 852 forks source link

Fix removal of metadata function and update script #6996

Closed antekresic closed 4 weeks ago

antekresic commented 1 month ago

Changing the code to remove the assumption of 1:1 mapping between chunks and chunk constraints. Including a check if a chunk constraint is shared with another chunk. In that case, skip deleting the dimension slice.

Fixes #6976

Disable-check: force-changelog-file

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.75%. Comparing base (59f50f2) to head (5a3eb80). Report is 198 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #6996 +/- ## ========================================== + Coverage 80.06% 81.75% +1.68% ========================================== Files 190 199 +9 Lines 37181 37015 -166 Branches 9450 9673 +223 ========================================== + Hits 29770 30261 +491 + Misses 2997 2863 -134 + Partials 4414 3891 -523 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.