Skip to main content

BITMAP_MIN

Gets the minimum value in the bitmap.

Syntax

BITMAP_MIN( <bitmap> )

Examples

SELECT BITMAP_MIN(BUILD_BITMAP([1,4,5]));

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