-
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, ddl: check the argument count for the generated column (#22154) #22174
expression, ddl: check the argument count for the generated column (#22154) #22174
Conversation
Signed-off-by: ti-srebot <[email protected]>
/run-all-tests |
@wjhuang2016 you're already a collaborator in bot's repo. |
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
PTAL @wjhuang2016 |
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 |
Your auto merge job has been accepted, waiting for:
|
/merge |
1 similar comment
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
@ti-srebot merge failed. |
/run-all-tests |
@ti-srebot merge failed. |
/run-all-tests |
PTAL @wjhuang2016 |
/run-all-tests |
cherry-pick #22154 to release-4.0
What problem does this PR solve?
Issue Number: close #22121
Problem Summary:
We didn't check the argument count for the generated column. So we can create the invalid generated column.
If
insert
oradd index
, the server would return errors.What is changed and how it works?
Check the argument count for the generated column.
Related changes
Check List
Tests
Side effects
Release note