-
Notifications
You must be signed in to change notification settings - Fork 8
24.8.14 Backport of #87303 - Fix condition not being moved to PREWHERE in case there is a row policy (version 2) #1080
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
Conversation
This commit is a manual backport of two PRs: 1. ClickHouse#87303 2. ClickHouse#88017 Additionally, the test from ClickHouse#88036 was added.
|
This is an automated comment for commit 0aed477 with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page
Successful checks
|
|
Guess that failed test Am I right that ClickHouse#8730 has some changes for some post-24.8 stuff, which are safely removed from PR (like FormatFactory, etc)? |
|
Thanks for the review!
Fixed in a follow-up commit.
Yes, it had quite a bit of stuff that was missing in this version, and that's why I decided to apply it manually. The extra stuff was safely removed, but I wanted to have more eyes looking into this code to spot a possible mistake. |
ianton-ru
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This commit is a manual backport of two PRs:
Additionally, the test from ClickHouse#88036 was added.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fixed move-to-prewhere optimization, which did not work in the presence of row policy (ClickHouse#87303 by @KochetovNicolai)
CI/CD Options
Exclude tests:
Regression jobs to run: