-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
affects-8.5This bug affects the 8.5.x(LTS) versions.This bug affects the 8.5.x(LTS) versions.severity/majorsig/plannerSIG: PlannerSIG: Plannertype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Before #56813, take the following SQL as an example:
table t(a int, b int, cint, index idx(a, b));
select * from t where a > 1;
Both sync load and async load will load a
's full stats, idx
's full stats, and the NDV/NullCount info of columns b
and c
.
After #56813, sync load will not load the stats of b
and c
anymore. But we forget to modify the async load.
So as a result, b
and c
's NDV/NullCount will be loaded finally.
It's a mistake and we should fix it.
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
current master.
Metadata
Metadata
Assignees
Labels
affects-8.5This bug affects the 8.5.x(LTS) versions.This bug affects the 8.5.x(LTS) versions.severity/majorsig/plannerSIG: PlannerSIG: Plannertype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.