Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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: Supports transitions between the same type (String types) #20032
ddl: Supports transitions between the same type (String types) #20032
Changes from 11 commits
026364e
a4b223c
9b1a095
5a5b7f9
34f1edd
aac09e4
e1b96ee
4edf90e
c360e0d
2ba8aa3
8ab072f
38ceb01
1b2c383
2978b36
8431f0d
c759b88
ce0263f
233d5f1
14defb4
8070455
b08c775
3560637
bc0b9d6
0e92d60
136dee6
50ab573
994af5c
a4f1a02
b923e4d
8061ee8
3e7a992
e80ff5c
bde8729
176fece
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
If
sql_mode
is set to""
, the job will be succeeded and warnings will be returned instead and10000
will be converted to an empty value.Since we don't have
sql_mode
here, you can choose to update your code if #20012 is merged before this PR(it's up to you). For now, let's skip thesql_mode
.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.
canChange
is different withisIntType
. Even ifto.Type
is not int, it still reports integer type change error.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.
It's judge
originUnsigned != toUnsigned
for integer.