-
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
util/chunk: fix incorrect result when set duration to MutRow
#8725
Conversation
/run-all-tests tidb-test=pr/704 |
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
/run-all-tests tidb-test=pr/704 |
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
/run-integration-ddl-test -tidb-test=pr/705 |
Seems we forget to modify the implementation in MutRow when we refactor the Is it safe to discard the |
|
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
@XuHuaiyu He means that delete There're also other ways:
|
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
What problem does this PR solve?
The duration column's len in
MutRow
is 16 while it's 8 in chunk.So it will meet incorrect result when you append multiple rows from
MutRow
to chunk then read them.What is changed and how it works?
This pr only fixes the column len.
It may be refactored in future pr.
Check List
Tests
Code changes
Related changes
fix incorrect result when union scan meets duration
This change is