Skip to content
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

[BUG] Statistics is not precise due to not all info are retrieved #2111

Open
birdstorm opened this issue Sep 10, 2021 · 1 comment
Open

[BUG] Statistics is not precise due to not all info are retrieved #2111

birdstorm opened this issue Sep 10, 2021 · 1 comment
Assignees

Comments

@birdstorm
Copy link
Contributor

In TiDB, there are now more tables about statistics than before.

e.g., some stats are not in stats_buckets, if the table is small, those statistics info will be in stats_top_n

We should synchronize the planner logic in TiDB and re-construct them in TiSpark.

@birdstorm birdstorm self-assigned this Sep 10, 2021
@birdstorm
Copy link
Contributor Author

This issue is also the main cause for some integration tests that are previously ignored concerning statistics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants