Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
将取值在 0 到 18446744073709551615 区间的 unsigned BIGINT 转换为包含该元素的 BITMAP。
cat data | curl --location-trusted -u user:passwd -T - \ -H "columns: dt,page,user_id, user_id=to_bitmap(user_id)" \ http://host:8410/api/test/testDb/_stream_load
TO_BITMAP(expr)
expr
select bitmap_count(to_bitmap(10)); +-----------------------------+ | bitmap_count(to_bitmap(10)) | +-----------------------------+ | 1 | +-----------------------------+ select bitmap_to_string(to_bitmap(10)); +---------------------------------+ | bitmap_to_string(to_bitmap(10)) | +---------------------------------+ | 10 | +---------------------------------+ select bitmap_to_string(to_bitmap(-5)); +---------------------------------+ | bitmap_to_string(to_bitmap(-5)) | +---------------------------------+ | NULL | +---------------------------------+ select bitmap_to_string(to_bitmap(null)); +-----------------------------------+ | bitmap_to_string(to_bitmap(NULL)) | +-----------------------------------+ | NULL | +-----------------------------------+