-
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
ddl: fix the set's default value where create table
#12267
Conversation
05a8d72
to
89ac601
Compare
PTAL @zhexuany |
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
Codecov Report
@@ Coverage Diff @@
## master #12267 +/- ##
===========================================
Coverage 79.9721% 79.9721%
===========================================
Files 461 461
Lines 102762 102762
===========================================
Hits 82181 82181
Misses 14773 14773
Partials 5808 5808 |
PTAL @crazycs520 @bb7133 |
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.
Reset LGTM
LGTM, please address @lonng 's comment |
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
39862e8
to
4e2b307
Compare
/run-all-tests |
@zimulala merge failed. |
/run-integration-compatibility-test |
cherry pick to release-2.1 failed |
cherry pick to release-3.0 failed |
cherry pick to release-3.1 failed |
What problem does this PR solve?
Fix SET type has inconsistent behavior compared with MySQL #12160. Fix the issue when the set type default value is int type.
Fix an issue where the default value does not exist in the set.
What is changed and how it works?
ParseSetValue
when the set type default value is int type. Mysql implementation also has problems, as follows:So code implementation reference MySQL set type.
Check List
Tests
Related changes
Release note