executor/infoschema_reader.go: skip the unidentifiable table-attributes#34129
executor/infoschema_reader.go: skip the unidentifiable table-attributes#34129ti-chi-bot merged 3 commits intopingcap:masterfrom
Conversation
…rated by TiDB Signed-off-by: shirly <AndreMouche@126.com>
|
[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. DetailsReviewer can indicate their review by submitting an approval review. |
|
Code Coverage Details: https://codecov.io/github/pingcap/tidb/commit/14f7d8df8ccf8a5e009bf3bfe4f1deb559385860 |
|
cc @rleungx |
|
After discussion with @nolouch before, I think another option is we record the source, if the source is not TiDB, we can omit this check and give a warning. |
|
But just giving a warning is ok to me. |
|
/merge |
|
This pull request has been accepted and is ready to merge. DetailsCommit hash: 91f3a3d |
TiDB MergeCI notify
|
|
/run-cherry-picker |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
|
cherry pick to release-5.3 in PR #34270 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
|
cherry pick to release-5.4 in PR #34271 |
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
|
cherry pick to release-6.0 in PR #34272 |
Signed-off-by: shirly AndreMouche@126.com
What problem does this PR solve?
Issue Number: close #33665
Problem Summary:
TiDB uses
region-ruleto store the attributes of the table, and TiDB returns error when it can not identify theregion-rule(which is not created by TiDB). This PR will skip and leave a warning log when meet the unidentifiable rule(table-attributes).What is changed and how it works?
Check List
Tests
Unit test
Manual test (add detailed scripts or steps below)
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.