跳到主要内容

BITMAP_UNION

Counts the number of bits set to 1 in the bitmap by performing a logical UNION operation.

Syntax

BITMAP_UNION( <bitmap> )

Examples

SELECT BITMAP_UNION(TO_BITMAP('1, 3, 5'))::String;

┌────────────────────────────────────────────┐
│ bitmap_union(to_bitmap('1, 3, 5'))::string │
├────────────────────────────────────────────┤
1,3,5
└────────────────────────────────────────────┘
开始使用 Databend Cloud
低成本
快速分析
多种数据源
弹性扩展
注册