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 |
+----------------------------------+