We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please answer these questions before submitting your issue. Thanks!
create table t (c1 int, c2 int)
insert into t values (1,2),(2,2),(6,2),(11,2),(16,2)
analyze table t
truncate table t
The old table stats meta gets deleted.
It still exists in the table.
master
The text was updated successfully, but these errors were encountered:
statistics: drop old stats meta after truncate a table (#49664)
98236ca
close #49663
Successfully merging a pull request may close this issue.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduction step (Required)
create table t (c1 int, c2 int)
insert into t values (1,2),(2,2),(6,2),(11,2),(16,2)
analyze table t
truncate table t
2. What did you expect to see? (Required)
The old table stats meta gets deleted.
3. What did you see instead (Required)
It still exists in the table.
4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: