Skip to content

Returns the number of set bits in a bitmap.

func.bitmap_count(<bitmap>)
func.bitmap_count(get_column(table, 'bm'))
┌───┐
│ 3 │
└───┘
BITMAP_COUNT(<bitmap>)
SELECT BITMAP_COUNT(BITMAP_FROM_STRING('1,2,3'));
┌───┐
│ 3 │
└───┘