DS_HLL_COMBINE (Lakehouse v2)
Combines multiple DataSketches HLL sketches into a single sketch.
Analyze Syntax
Section titled “Analyze Syntax”func.ds_hll_combine(get_column(table, 'hll_sketch'))Analyze Examples
Section titled “Analyze Examples”func.ds_hll_combine(get_column(table, 'hll_sketch'))
┌───────────────────┐│ (combined sketch) │└───────────────────┘SQL Syntax
Section titled “SQL Syntax”DS_HLL_COMBINE(<sketch_column>)SQL Examples
Section titled “SQL Examples”SELECT DS_HLL_ESTIMATE(DS_HLL_COMBINE(sketch_col)) FROM daily_sketches;
┌───────┐│ 25000 │└───────┘