-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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/core: pushdown TiFlash store type check to ColumnToProto #55463
Conversation
Hi @joechenrh. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #55463 +/- ##
================================================
+ Coverage 73.0142% 75.7948% +2.7805%
================================================
Files 1576 1577 +1
Lines 440774 442138 +1364
================================================
+ Hits 321828 335118 +13290
+ Misses 99264 86489 -12775
- Partials 19682 20531 +849
Flags with carried forward coverage won't be shown. Click here to find out more.
|
[LGTM Timeline notifier]Timeline:
|
/retest-required |
@fzzf678: The specified target(s) for
The following commands are available to trigger optional jobs:
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@fzzf678: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/ok-to-test |
/test check-dev2 |
@AilinKid: The specified target(s) for
Use In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/hold |
You can do the same thing as the |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AilinKid, CbcWestwolf, fzzf678, wjhuang2016 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/unhold |
What problem does this PR solve?
Issue Number: close #55462
What changed and how does it work?
As described in #55462, the infoschema checker has found inconsistent with v1 and v2 in
TestDisaggregatedTiFlashGeneratedColumn
, thus throw a panic.This is because the column info returned from
getOriginalPhysicalTableScan
is modifed here:tidb/pkg/planner/core/find_best_task.go
Lines 2461 to 2467 in f73e3e3
As described in the comments, we should do this check in
ColumnToProto
to avoidColumnInfo
changes.Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.