influxdb/pkg/estimator
Sam Arnold 903b8cd0ea
feat(query): Hyper log log operators in influxql (#20603)
* feat(query): hyper log log counting in query engine

In addition to helping with normal queries, this can improve the 'SHOW CARDINALITY'
meta-queries:

time influx -database mydb -execute 'select count_hll(sum_hll(_seriesKey)) from big'
name: big
time count_hll
---- ---------
0    200767781
influx -database mydb -execute   0.06s user 0.12s system 0% cpu 8:49.99 total
2021-02-08 08:38:14 -05:00
..
hll feat(query): Hyper log log operators in influxql (#20603) 2021-02-08 08:38:14 -05:00
sketch.go tsdb/index: Add Bytes() methods (#9794) 2018-05-04 08:47:05 -07:00