You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Statistics' async load loads more items than current sync load #59107
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.
Activity
12 remaining items
planner: stats async load only load real predicate columns (pingcap#5…
planner: stats async load only load real predicate columns (pingcap#5…
planner: stats async load only load real predicate columns (#59117) (#…
planner: stats async load only load real predicate columns (pingcap#5…