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