跳到主要内容
跳到主要内容

HLL_CARDINALITY

HLL_CARDINALITY

description

Syntax

HLL_CARDINALITY(hll)

HLL_CARDINALITY 用于计算 HLL 类型值的基数。

example

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

keywords

HLL,HLL_CARDINALITY