-
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
expression, executor: allow insert strings with overflowed trailing spaces #20987
Conversation
/reward 300 |
You are not the mentor for the linked issue. |
8960f12
to
b123478
Compare
/run-all-tests |
/run-all-tests |
/run-all-tests |
/run-integration-ddl-test |
/run-unit-test |
/cc @XuHuaiyu PTAL |
/cc @XuHuaiyu |
/run-all-tests |
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.
Rest LGTM
@wshwsh12 PTALA |
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
/reward 300 |
This PR's linked issue is not picked. |
@XuHuaiyu I picked up the original issue, please reward again. |
@XuHuaiyu PTALA |
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
/merge |
/run-all-tests |
@ichn-hu merge failed. |
/run-all-tests |
/run-all-tests |
/run-unit-tests |
1 similar comment
/run-unit-tests |
/run-all-tests |
@ichn-hu, Congratulations, you get 300 in this PR, and your total score is 300 in high-performance challenge program. |
/label need-cherry-pick-4.0 |
These labels are not found |
/label needs-cherry-pick-4.0 |
/run-cherry-pick |
Signed-off-by: ti-srebot <[email protected]>
cherry pick to release-4.0 in PR #21282 |
…paces (#20987) (#21282) Signed-off-by: ti-srebot <[email protected]>
What problem does this PR solve?
Issue Number: close #10392
Problem Summary:
For now, TiDB will complain with error if string inserted are longer than
varchar
orchar
's lenght constraint with trailing spaces, however, as in MySQL's dochttps://dev.mysql.com/doc/refman/8.0/en/char.html
What is changed and how it works?
Make overflowed trailing spaces trimed, and report warning for
varchar
.Proposal: xxx
What's Changed:
How it Works:
Related changes
Check List
Tests
Side effects
N/A
Release note