bitmap_empty

description

Syntax

BITMAP BITMAP_EMPTY()

返回一个空bitmap。主要用于 insert 或 stream load 时填充默认值。例如

  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. +------------------------------+

keywords

  1. BITMAP_EMPTY,BITMAP