Skip to content

Returns the count of distinct values in the union of a set of bitmaps.

func.bitmap_union_count(get_column(table, 'bm'))
func.bitmap_union_count(get_column(table, 'user_bitmap'))
┌──────┐
5000
└──────┘
BITMAP_UNION_COUNT(<bm>)
SELECT BITMAP_UNION_COUNT(user_bitmap) FROM daily_visits;
┌──────┐
5000
└──────┘