planner: assumed data distribution of out-of-range estimation might not be correct in some cases
Open
affects-7.5
epic/cardinality-estimation
report/customer
sig/planner
type/enhancement
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Enhancement
Currently, we assumes all newly added data are uniformly distributed, but this assumption might not be correct in some cases.


Below is a real bad case from one customer:

The data in the predicate is out-of-range, and the estimation result has a large error.
Contributor guide
Assessment
This issue has not been assessed yet.