DS_HLL_COMBINE (Lakehouse v2)
Combina vários sketches HLL do DataSketches num único sketch.
Sintaxe do Analyze
Seção intitulada “Sintaxe do Analyze”func.ds_hll_combine(get_column(table, 'hll_sketch'))Exemplos do Analyze
Seção intitulada “Exemplos do Analyze”func.ds_hll_combine(get_column(table, 'hll_sketch'))
┌───────────────────┐│ (combined sketch) │└───────────────────┘Sintaxe SQL
Seção intitulada “Sintaxe SQL”DS_HLL_COMBINE(<sketch_column>)Exemplos de SQL
Seção intitulada “Exemplos de SQL”SELECT DS_HLL_ESTIMATE(DS_HLL_COMBINE(sketch_col)) FROM daily_sketches;
┌───────┐│ 25000 │└───────┘