columns with not full loaded stats may display wrong column ID in EXPLAIN #52207
Labels
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.5
This bug affects the 7.5.x(LTS) versions.
severity/moderate
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)
Correctly display the stats loading related information.
3. What did you see instead (Required)
Note the
ID 8:allEvicted
andID 6:allEvicted
in the plan. The column's ID with incomplete stats is wrong, so it fails to get the column name from the metadata and prints the column ID directly.4. What is your TiDB version? (Required)
Affects from 7.1 to the current master (pre-v8.1)
The text was updated successfully, but these errors were encountered: