bitmap_empty
description
Syntax
BITMAP BITMAP_EMPTY()
Return an empty bitmap. Mainly be used to supply default value for bitmap column when loading, e.g.,
1. 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
1. mysql> select bitmap_count(bitmap_empty());
2. +------------------------------+
3. | bitmap_count(bitmap_empty()) |
4. +------------------------------+
5. | 0 |
6. +------------------------------+
8. mysql> select bitmap_to_string(bitmap_empty());
9. +----------------------------------+
10. | bitmap_to_string(bitmap_empty()) |
11. +----------------------------------+
12. | |
13. +----------------------------------+
keywords
1. BITMAP_EMPTY,BITMAP
