Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport to 2.13.x: #6377: Use processed group clauses in PG16 #6378

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

timescale-automation
Copy link
Member

This is an automated backport of #6377: Use processed group clauses in PG16.
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

Use processed group clauses in PG16

Latest version of Postgres introduced an optimization which removes redundant grouping and DISTINCT columns. This optimization needs to be taken into account when generating pushdown aggregation plans so we can create valid plans with correct grouping columns.

Latest version of Postgres introduced an optimization
which removes redundant grouping and DISTINCT columns.
This optimization needs to be taken into account when
generating pushdown aggregation plans so we can create
valid plans with correct grouping columns.

(cherry picked from commit c81ae6f)
Copy link

codecov bot commented Dec 5, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (2.13.x@8de67b4). Click here to learn what that means.

Additional details and impacted files
@@            Coverage Diff            @@
##             2.13.x    #6378   +/-   ##
=========================================
  Coverage          ?   82.42%           
=========================================
  Files             ?      249           
  Lines             ?    57816           
  Branches          ?    12868           
=========================================
  Hits              ?    47652           
  Misses            ?     6707           
  Partials          ?     3457           

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

@timescale-automation timescale-automation merged commit e383bc5 into 2.13.x Dec 5, 2023
41 of 42 checks passed
@timescale-automation timescale-automation deleted the backport/2.13.x/6377 branch December 5, 2023 18:15
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.

2 participants