BITMAP_INTERSECT
Counts the number of bits set to 1 in the bitmap by performing a logical INTERSECT operation.
Analyze Syntax
func.bitmap_intersect( <bitmap> )
Analyze Examples
func.bitmap_intersect(func.to_bitmap('1, 3, 5'))
┌──────────────────────────────────────────────────┐
│ func.bitmap_intersect(func.to_bitmap('1, 3, 5')) │
├──────────────────────────────────────────────────┤
│ 1,3,5 │
└──────────────────────────────────────────────────┘
SQL Syntax
BITMAP_INTERSECT( <bitmap> )
SQL Examples
SELECT BITMAP_INTERSECT(TO_BITMAP('1, 3, 5'))::String;
┌────────────────────────────────────────────────┐
│ bitmap_intersect(to_bitmap('1, 3, 5'))::string │
├────────────────────────────────────────────────┤
│ 1,3,5 │
└────────────────────────────────────────────────┘
Last modified April 24, 2024 at 9:36 PM EST: updating bitwise operation functions (33af5e5)