-
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
Failed to modify column's default value when has expression index #52355
Comments
introduced by #43350 |
/type regression |
In #24321 (v4.0.0), I hope this kind of DDL error raised an issue, Because the generated column also didn't GA, and the generated column's user doc also said not to support (https://docs.pingcap.com/tidb/stable/generated-columns#limitations).
This PR (#43350) will change the behavior, to become an error. But v7.1 (https://docs-archive.pingcap.com/tidb/v7.2/release-7.1.0) to start generating function has the GA. So what are our options now? Still let it report an error or let it execute successfully? |
I think the current behavior confirm to our previous choice #43455 (comment) |
@tiancaiamao Could please check if anything need to do with the error message for this case? |
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
Success.
3. What did you see instead (Required)
This error message does not match the operation and has a poor format.
I can reproduce this error in both nightly and v7.5.1, but in serverless (
5.7.28-TiDB-v7.1.1-serverless
) it works fine.4. What is your TiDB version? (Required)
From Django tests
migrations.test_operations.OperationTests.test_alter_field_with_func_index
The text was updated successfully, but these errors were encountered: