メインコンテンツまでスキップ
バージョン: Stable-3.3

bitmap_empty

Description

空のビットマップを返します。主に挿入や Stream Load の際にデフォルト値を埋めるために使用されます。例えば:

cat data | curl --location-trusted -u user:passwd -T - \
-H "columns: dt,page,v1,v2=bitmap_empty()" \
http://host:8410/api/test/testDb/_stream_load

Syntax

BITMAP BITMAP_EMPTY()

Examples

MySQL > select bitmap_count(bitmap_empty());
+------------------------------+
| bitmap_count(bitmap_empty()) |
+------------------------------+
| 0 |
+------------------------------+

keyword

BITMAP_EMPTY,BITMAP