Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
We could probably integrate with the Datasketches more closely; it has very usefull alogrithms which could utilized various ways:
- provide an optional way to transparently rewrite count(distinct) to use some distinct counting sketch
- fequent items could be gathered during statistics collection; knowing the most frequent elements could extremely helpfull in giving more accurate estimates for our plans
- and...it also has a way to estimate a CDF function; which might be usefull in giving better estimates for range queries