-
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 incorrect ORDINAL_POSITION
for INFORMAITON_SCHEMA
.COLUMNS
table
#37419
Conversation
[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. |
2b49efa
to
c62b532
Compare
Code Coverage Details: https://codecov.io/github/pingcap/tidb/commit/5c72585289ee3b00233217b04f744481d6faf897 |
c62b532
to
406810b
Compare
/run-mysql-test tidb-test=pr/1949 |
PTAL @wjhuang2016 @xiongjiwei |
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.
How about KEY_COLUMN_USAGE?
@wjhuang2016 It is irrelevant(https://dev.mysql.com/doc/refman/8.0/en/information-schema-key-column-usage-table.html):
The semantic of |
/run-mysql-test tidb-test=pr/1949 |
1 similar comment
/run-mysql-test tidb-test=pr/1949 |
/run-mysql-test tidb-test=pr/1949 |
/merge |
This pull request has been accepted and is ready to merge. Commit hash: 96323e7
|
/hold |
/unhold |
/run-mysql-test tidb-test=pr/1949 |
TiDB MergeCI notify🔴 Bad News! New failing [2] after this pr merged.
|
What problem does this PR solve?
Issue Number: close #31200
What is changed and how it works?
The root cause of #31200 is that when we calculate
ORDINAL_POSITION
forCOLUMNS
, the internally hidden columns used by 'expression index' is counted and the result will be wrong.After this PR, hidden columns will not be counted.
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.