HLL_UNION_AGG (Lakehouse v2)
Aggregates HLL values by computing the union.
Analyze Syntax
Section titled “Analyze Syntax”func.hll_union_agg(get_column(table, 'hll_col'))Analyze Examples
Section titled “Analyze Examples”func.hll_union_agg(get_column(table, 'hll_col'))
┌─────────────┐│ (hll value) │└─────────────┘SQL Syntax
Section titled “SQL Syntax”HLL_UNION_AGG(<hll_col>)SQL Examples
Section titled “SQL Examples”SELECT HLL_CARDINALITY(HLL_UNION_AGG(hll_col)) FROM segments;
┌──────┐│ 8000 │└──────┘