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