ORTHOGONAL_BITMAP_UNION_COUNT
orthogonal_bitmap_union_countβ
descriptionβ
Syntaxβ
BITMAP ORTHOGONAL_BITMAP_UNION_COUNT(bitmap_column, column_to_filter, filter_values)
Figure out the bitmap union count function, syntax with the original bitmap_union_count, but the implementation is different.
exampleβ
mysql> select orthogonal_bitmap_union_count(members) from tag_map where tag_group in ( 1150000, 1150001, 390006);
+------------------------------------------+
| orthogonal_bitmap_union_count(`members`) |
+------------------------------------------+
| 286957811 |
+------------------------------------------+
1 row in set (2.645 sec)
keywordsβ
ORTHOGONAL_BITMAP_UNION_COUNT,BITMAP