column stats don't follow the lazy-load behavior after analyzing the table twice #42073
Labels
affects-6.3
affects-6.4
affects-6.5
This bug affects the 6.5.x(LTS) versions.
affects-6.6
component/statistics
severity/major
sig/planner
SIG: Planner
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
Stats of
a
andb
are all evicted since the optimizer doesn't use stats ofa
orb
(column stats are laze-load).3. What did you see instead (Required)
After the second analyze, stats of
a
andb
are all loaded, which doesn't follow the stats lazy-load behavior.4. What is your TiDB version? (Required)
master
The text was updated successfully, but these errors were encountered: