Skip to content

Conversation

@timescale-automation
Copy link
Member

This is an automated backport of #8988: Don't ignore additional filters on same column when building scankeys.
This PR will be merged automatically after all the relevant CI checks pass. If this fix should not be backported, or will be backported manually, just close this PR. You can use the backport branch to add your changes, it won't be modified automatically anymore.

For more details, please see the documentation

Original description

Don't ignore additional filters on same column when building scankeys

This would lead to assertion failure in debug builds and ignore
additional filter in non-debug builds. This would not lead to data
corruption but it could lead to more data being decompressed than
necessary for DML operations on compressed chunks.

Found by sqlsmith

This would lead to assertion failure in debug builds and ignore
additional filter in non-debug builds. This would not lead to data
corruption but it could lead to more data being decompressed than
necessary for DML operations on compressed chunks.

Found by sqlsmith

(cherry picked from commit 91ce04d)
@codecov
Copy link

codecov bot commented Nov 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.61%. Comparing base (2f6e61f) to head (40b3f75).

Additional details and impacted files
@@            Coverage Diff             @@
##           2.24.x    #8992      +/-   ##
==========================================
+ Coverage   82.52%   82.61%   +0.08%     
==========================================
  Files         249      249              
  Lines       48547    48520      -27     
  Branches    12395    12391       -4     
==========================================
+ Hits        40062    40083      +21     
- Misses       3520     3530      +10     
+ Partials     4965     4907      -58     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

is-auto-backport PR created by backport automation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants