hll_union
Returns the concatenation of a set of HLL values.
Syntaxβ
hll_union(hll)
Examplesβ
mysql> select k1, hll_cardinality(hll_union(v1)) from tbl group by k1;
+------+----------------------------------+
| k1 | hll_cardinality(hll_union(`v1`)) |
+------+----------------------------------+
| 2 | 4 |
| 1 | 3 |
+------+----------------------------------+