-
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: use ExtraHandleColumn as PK when generating TablePath (#11959) #13095
Conversation
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
Your auto merge job has been accepted, waiting for 13180 |
/run-all-tests |
@francis0407 merge failed. |
/run-all-tests |
cherry pick to release-3.1 in PR #13291 |
What problem does this PR solve?
Cherry pick #11959 to branch release-3.0
What is changed and how it works?
Check List
Tests
Related changes
Release note
When the table uses
_tidb_rowid
as Handle, we can correctly generate a TableScan that keeps the order of_tidb_rowid
. For example,select max(_tidb_rowid) from t
won't require aSort
anymore.