HLL_HASH
Descriptionβ
Converts a given value to the HLL (HyperLogLog) type. This function is typically used during data loading to create an HLL from raw data.
Syntaxβ
HLL_HASH(<value>)
Parametersβ
Parameter | Description |
---|---|
<value> | The value to be converted to HLL type. This can be a string, number, or any data type. |
Examplesβ
SELECT HLL_CARDINALITY(HLL_HASH('abc'));
+----------------------------------+
| hll_cardinality(HLL_HASH('abc')) |
+----------------------------------+
| 1 |
+----------------------------------+