Skip to main content

BUILD_BITMAP

Converts an array of positive integers to a BITMAP value.

Syntax

BUILD_BITMAP( <expr> )

Examples

SELECT BUILD_BITMAP([1,4,5])::String;

┌─────────────────────────────────┐
│ build_bitmap([1, 4, 5])::string │
├─────────────────────────────────┤
1,4,5
└─────────────────────────────────┘
Explore Databend Cloud for FREE
Low-cost
Fast Analytics
Easy Data Ingestion
Elastic Scaling
Try it today