BITMAP_INTERSECT (Lakehouse v1)
Counts the number of bits set to 1 in the bitmap by performing a logical INTERSECT operation.
Analyze Syntax
Section titled “Analyze Syntax”func.bitmap_intersect( <bitmap> )Analyze Examples
Section titled “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
Section titled “SQL Syntax”BITMAP_INTERSECT( <bitmap> )SQL Examples
Section titled “SQL Examples”SELECT BITMAP_INTERSECT(TO_BITMAP('1, 3, 5'))::String;
┌────────────────────────────────────────────────┐│ bitmap_intersect(to_bitmap('1, 3, 5'))::string │├────────────────────────────────────────────────┤│ 1,3,5 │└────────────────────────────────────────────────┘