-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
*: revert #27021 to fix a bug that selection can not be pushed down when having clause above aggregation #33168
*: revert #27021 to fix a bug that selection can not be pushed down when having clause above aggregation #33168
Conversation
Signed-off-by: wjhuang2016 <[email protected]>
[REVIEW NOTIFICATION] This pull request has been approved by:
To complete the pull request process, please ask the reviewers in the list to review by filling The full list of commands accepted by this bot can be found here. Reviewer can indicate their review by submitting an approval review. |
Code Coverage Details: https://codecov.io/github/pingcap/tidb/commit/269797f6665c71b6dd9ddaa43514fdc0abba5f8a |
Signed-off-by: wjhuang2016 <[email protected]>
…db into fix_regression_having_ppd
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 269797f
|
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-4.0 in PR #33177 |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-5.0 in PR #33179 |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-5.1 in PR #33180 |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-5.2 in PR #33181 |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-5.3 in PR #33183 |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-5.4 in PR #33186 |
Signed-off-by: wjhuang2016 [email protected]
What problem does this PR solve?
Issue Number: close #33166
Problem Summary:
I don't know why #27021 get merged, but it's totally wrong.
First, selection can be pushed down when having clause above aggregation, it's true.
Second, the root cause of #26496 is the same as #30094, which is fixed by #30120
What is changed and how it works?
Revert #27021
Check List
Tests
Side effects
Documentation
Release note