-
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
Wrong behavior when ENUM
column meet Aggregation
#13027
Comments
|
Is it caused by if a.RetTp.Tp == mysql.TypeEnum || a.RetTp.Tp == mysql.TypeSet {
a.RetTp = &types.FieldType{Tp: mysql.TypeString, Flen: mysql.MaxFieldCharLength}
} So we should add a PS. I found another issue when |
I think the one you found shares the same cause of this issue. You can have a try to do a |
Bug Report
Please answer these questions before submitting your issue. Thanks!
If possible, provide a recipe for reproducing the error.
Two row. 1 and 2.
Two row. Both are 0, with warning
Data Truncated
tidb-server -V
or runselect tidb_version();
on TiDB)?current master 02b7634
The text was updated successfully, but these errors were encountered: