VeloDB Cloud
SQL Manual
Functions
bitmap-functions
bitmap_empty

bitmap_empty

Description

Syntax:

BITMAP BITMAP_EMPTY()

This function returns an empty bitmap, which is mainly used for the default value filling in insert or 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

Example

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

Keywords

BITMAP_EMPTY,BITMAP