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