-
Notifications
You must be signed in to change notification settings - Fork 409
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
query count(*) failed #9472
Comments
Hi @giant-panda666, thank you for pointing out that such an issue exists. Can you provide more information? For example:
|
|
@giant-panda666 The following is a workaround: set tidb_opt_enable_late_materialization = off; <query>; set tidb_opt_enable_late_materialization = on; Could you please provide the table schema? |
The table structure contains sensitive data. Can I obfuscate the field names and enum values before providing them? For example, I can rename the ‘price’ field to ‘a’. Also, could you explain why disabling tidb_opt_enable_late_materialization can temporarily resolve this issue? |
Yes.
Only late materialization will call |
CREATE TABLE |
@giant-panda666 Thanks, you may also need to transform the query. |
SELECT COUNT(*) FROM |
So updating to v7.5.3 will be ok? |
Sorry, I made a mistake, I am still working on it. |
It's ok, looking forward to the next version release. Thank you! |
…-empty column in the block (#9483) (#9493) ref #9472 storage: fix block rows not match when the filter column is the first non-empty column in the block Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io> Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com> Co-authored-by: Lloyd-Pottiger <60744015+Lloyd-Pottiger@users.noreply.github.com> Co-authored-by: Lloyd-Pottiger <yan1579196623@gmail.com>
…-empty column in the block (#9483) (#9495) ref #9472 storage: fix block rows not match when the filter column is the first non-empty column in the block Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io> Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com> Co-authored-by: Lloyd-Pottiger <60744015+Lloyd-Pottiger@users.noreply.github.com> Co-authored-by: Lloyd-Pottiger <yan1579196623@gmail.com>
A table stored in TiFlash, using this query sometimes works, sometimes not.


The text was updated successfully, but these errors were encountered: