-
Notifications
You must be signed in to change notification settings - Fork 411
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
Group by multi string column in cop/batchCop mode will truncate the last char of group by columns #6294
Labels
Comments
Root cause
This bug only affect release-6.3. |
close this issue since the bug only exists in v6.3.0 and there is no patch version for v6.3.x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
create a TiDB cluster with v6.3.0
2. What did you expect to see? (Required)
the query result should be
3. What did you see instead (Required)
the query result is
4. What is your TiFlash version? (Required)
v6.3.0
5. Root cause
This bug is caused by #5834. In #5834, it introduced a new hash method named
HashMethodMultiString
, inHashMethodMultiString
, for string without collator, it usesas the key, it is not right, because
ColumnString::deserializeAndInsertFromArena
actually assumes that the key is including the terminating zero.This bug seems can't reproduced in master branch, but we still need to double confirm it.
The text was updated successfully, but these errors were encountered: