Skip to main content
Version: Latest-4.1

hll_cardinality

Calculates the cardinality of a single HLL type value.

Syntax​

HLL_CARDINALITY(hll)

Examples​

MySQL > select HLL_CARDINALITY(uv_set) from test_uv;
+---------------------------+
| hll_cardinality(`uv_set`) |
+---------------------------+
| 3 |
+---------------------------+

keyword​

HLL,HLL_CARDINALITY

Rocky the happy otterStarRocks Assistant

AI generated answers are based on docs and other sources. Please test answers in non-production environments.