Skip to content

Combines multiple DataSketches HLL sketches into a single sketch.

func.ds_hll_combine(get_column(table, 'hll_sketch'))
func.ds_hll_combine(get_column(table, 'hll_sketch'))
┌───────────────────┐
│ (combined sketch) │
└───────────────────┘
DS_HLL_COMBINE(<sketch_column>)
SELECT DS_HLL_ESTIMATE(DS_HLL_COMBINE(sketch_col)) FROM daily_sketches;
┌───────┐
25000
└───────┘