数据仓库服务 GAUSSDB(DWS)-哈希函数:hll_hash_bigint(bigint, int32)

时间:2024-12-24 10:32:43

hll_hash_bigint(bigint, int32)

描述:对bigint类型数据计算哈希值,并设置hashseed(即改变哈希策略)。

返回值类型:hll_hashval

示例:

1
2
3
4
5
SELECT hll_hash_bigint(100::bigint, 10);
   hll_hash_bigint   
---------------------
 4631120266694327276
(1 row)
support.huaweicloud.com/sqlreference-dws/dws_06_0327.html