-
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 should report an error when creating a generated column with function "grouping" #49909
Comments
Could you please help confirm if the behavior in v6.1.0 is correct or not? mysql> create table t(a int, b int as ((grouping(a))) stored); |
/type regression |
Discussed with D3Hunter. The expected behavior should be a user error instead of a successful ddl. Adding the regression tag. |
Regression Analysis |
Regression Analysis -----------------End of regression test on 8b67cea----------------- |
-----------------Regression Test Result on aedbcd0----------------- -----------------TiDB Version----------------- -----------------End of regression test on aedbcd0----------------- |
Regression Analysis |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
In MySQL, it reports an error:
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: