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

Some DDL operation will miss the updates for stats_meta #29216

Closed
winoros opened this issue Oct 28, 2021 · 0 comments · Fixed by #29429
Closed

Some DDL operation will miss the updates for stats_meta #29216

winoros opened this issue Oct 28, 2021 · 0 comments · Fixed by #29429
Labels
sig/planner SIG: Planner type/enhancement The issue or PR belongs to an enhancement.

Comments

@winoros
Copy link
Member

winoros commented Oct 28, 2021

Enhancement

Now when creating a table, we would create the stats_meta for this table(the insertTableStats2KV in HandleDDLEvent)
But if we load the initial data by lightning, be or some other tool. The stats_meta will miss their updates and the row_count is still 0.
This is not consistent and may lead to the wrong assumptions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/planner SIG: Planner type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant