display partial stats used when index stats are missing
Open
contribution
type/enhancement
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Enhancement
After this PR, https://github.com/pingcap/tidb/pull/62725, when estimating cardinality for an index, if it doesn't have stats we will try and supplement it with existing column stats. However, the explain details remain the same as before, only showing stats as missing. For easier debugging, update this to display which partial column stats were used in the estimation.
Contributor guide
Assessment
This issue has not been assessed yet.