[MDEV-27230] Estimation for filtered rows less precise with JSON histogram comparing to DOUBLE_PREC (#6) Created: 2021-12-11 Updated: 2022-01-19 Resolved: 2021-12-13 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Optimizer |
| Affects Version/s: | N/A |
| Fix Version/s: | 10.8.0 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Elena Stepanova | Assignee: | Sergei Petrunia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
The result of the query is 99 rows:
So, the estimation with DOUBLE_PREC_HB is quite close:
The estimation with JSON_HB is off:
|
| Comments |
| Comment by Sergei Petrunia [ 2021-12-13 ] |
|
Pushed a fix for this one. |