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.8k stars 852 forks source link

Fix bug in default segmentby calc. in compression #7074

Closed nikkhils closed 5 days ago

nikkhils commented 5 days ago

There was a typo in the query used for the calculation of default segmentbys in the case of compression.

codecov[bot] commented 5 days ago

Codecov Report

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

Project coverage is 81.74%. Comparing base (59f50f2) to head (6145b17). Report is 231 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #7074 +/- ## ========================================== + Coverage 80.06% 81.74% +1.68% ========================================== Files 190 200 +10 Lines 37181 37350 +169 Branches 9450 9740 +290 ========================================== + Hits 29770 30533 +763 + Misses 2997 2893 -104 + Partials 4414 3924 -490 ```

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

timescale-automation commented 5 hours ago

Automated backport to 2.15.x not done: cherry-pick failed.

Git status

HEAD detached at origin/2.15.x
You are currently cherry-picking commit 60c9f4d24.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
    new file:   .unreleased/fix_7074
    modified:   sql/compression_defaults.sql

Unmerged paths:
  (use "git add <file>..." to mark resolution)
    both modified:   tsl/test/expected/compression_defaults.out
    both modified:   tsl/test/sql/compression_defaults.sql

Job log