Skip to content

Returns the union of a set of bitmaps (aggregate).

func.bitmap_union(get_column(table, 'bm'))
func.bitmap_union(get_column(table, 'user_bitmap'))
┌──────────┐
│ (bitmap) │
└──────────┘
BITMAP_UNION(<bm>)
SELECT BITMAP_COUNT(BITMAP_UNION(user_bitmap)) FROM daily_visits;
┌──────┐
5000
└──────┘