-
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
planner: generate wrong plan when update has subquery #25660
Conversation
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com>
No release note, Please follow https://github.com/pingcap/community/blob/master/contributors/release-note-checker.md |
/run-check_release_note |
Good job. A question: Is there any strong reason to apply a manual test instead of an integration test? |
Please add some test cases for your change. |
[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. |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 74bca01
|
@hawkingrei Please try to check if #25658 can be reproduced in v4.0, v5.0 & v5.1, so that we will decide how many branches that backports would be needed. |
OK |
/label needs-cherry-pick-4.0 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-4.0 in PR #25696 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-5.0 in PR #25697 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
cherry pick to release-5.1 in PR #25698 |
Signed-off-by: Weizhen Wang wangweizhen@pingcap.com
What problem does this PR solve?
Issue Number: close #25658
Problem Summary:
What is changed and how it works?
if finding the subquery in the UPDATE's assignment list, the point_get return null.
What's Changed:
How it Works:
it change plan. the plan is shown below.

Check List
Tests
Release note