1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-26849: JSON Histograms: point selectivity estimates are off

.. for non-existent values.

Handle this special case.
This commit is contained in:
Sergei Petrunia
2021-10-22 19:43:19 +03:00
parent f3f78bed85
commit 05877df472
8 changed files with 142 additions and 10 deletions

View File

@@ -109,7 +109,8 @@ public:
ulonglong size) override;
double point_selectivity(Field *field, key_range *endpoint,
double avg_selection) override;
double avg_selection,
double total_rows) override;
double range_selectivity(Field *field, key_range *min_endp,
key_range *max_endp) override;