跳到主要内容
版本: 最新版本-3.5

hll_empty

生成一个空的 HLL 列,以补充插入或加载数据时的默认值。

语法

HLL_EMPTY()

返回值

返回一个空的 HLL。

示例

补充插入数据时的默认值。

insert into hllDemo(k1,v1) values(10,hll_empty());

补充加载数据时的默认值。

curl --location-trusted -u <username>:<password> \
-H "columns: temp1, temp2, col1=hll_hash(temp1), col2=hll_empty()" \
-T example7.csv -XPUT \
http://<fe_host>:<fe_http_port>/api/test_db/table7/_stream_load