コンテンツにスキップ

ビットマップの集合の和集合に含まれる、重複を除いた値の数を返します。

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 │
└──────┘