콘텐츠로 이동

여러 DataSketches HLL 스케치를 하나의 스케치로 결합합니다.

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 │
└───────┘