Skip to content

Returns a bitmap union of a set of values. Typically used with BITMAP_AGG.

func.bitmap_agg(get_column(table, 'id'))
func.bitmap_agg(get_column(table, 'id'))
┌──────────┐
│ (bitmap) │
└──────────┘
BITMAP(<id>)
SELECT BITMAP_COUNT(BITMAP_AGG(id)) FROM user_tags;
┌─────┐
500
└─────┘