-
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
executor: fix wrong plan type for dataReaderBuilder error #17028
Conversation
Codecov Report
@@ Coverage Diff @@
## master #17028 +/- ##
================================================
+ Coverage 79.9685% 80.2619% +0.2933%
================================================
Files 510 510
Lines 138797 140232 +1435
================================================
+ Hits 110994 112553 +1559
+ Misses 18828 18712 -116
+ Partials 8975 8967 -8 |
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
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
@windtalker Should we pick this PR to v3.0.0? |
/run-all-tests |
No, only 3.1 is affected. |
/merge |
/run-all-tests |
@windtalker merge failed. |
Signed-off-by: sre-bot <[email protected]>
cherry pick to release-3.1 in PR #17034 |
cherry pick to release-4.0 in PR #17036 |
What problem does this PR solve?
Issue Number:
Problem Summary:
After PR #16389 TiDB will push down all the expr supported by TiKV or TiFlash in predicate push down stage, so if there is an expr which only supported by TiFlash, a physical selection will be added after index read, but current implementation of
buildExecutorForIndexJoin
does not support physical selection, so it will throw wrong plan type for dataReaderBuilder error when meeting physical selection plan.What is changed and how it works?
What's Changed:
support physical selection in
buildExecutorForIndexJoin
Related changes
Check List
Tests
Release note