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

Backport to 2.15.x: #6948: Re-enable compressed OR boolexpr pushdown #6954

Closed timescale-automation closed 1 month ago

timescale-automation commented 1 month ago

This is an automated backport of #6948: Re-enable compressed OR boolexpr pushdown. 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

Re-enable compressed OR boolexpr pushdown

To fix the original problem, it is enough to call eval_const_expressions() to normalize the nested AND boolexprs.

This is a follow-up to #6917

Disable-check: force-changelog-file