跳到主要内容

HLL_HASH

HLL_HASH

description

Syntax

HLL_HASH(value)

HLL_HASH 将一个值转换为 hll 类型。通常用于导入数据时,将普通类型的值导入到 hll 列中。

example

MySQL > select HLL_CARDINALITY(HLL_HASH('abc'));
+----------------------------------+
| hll_cardinality(HLL_HASH('abc')) |
+----------------------------------+
| 1 |
+----------------------------------+

keywords

HLL,HLL_HASH