BITMAP_UNION (Lakehouse v1)
Compte le nombre de bits à 1 dans le bitmap en effectuant une opération UNION logique.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.bitmap_union( <bitmap> )Exemples Analyze
Section intitulée « Exemples Analyze »func.bitmap_union(func.to_bitmap('1, 3, 5'))
┌──────────────────────────────────────────────┐│ func.bitmap_union(func.to_bitmap('1, 3, 5')) │├──────────────────────────────────────────────┤│ 1,3,5 │└──────────────────────────────────────────────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »BITMAP_UNION( <bitmap> )Exemples SQL
Section intitulée « Exemples SQL »SELECT BITMAP_UNION(TO_BITMAP('1, 3, 5'))::String;
┌────────────────────────────────────────────┐│ bitmap_union(to_bitmap('1, 3, 5'))::string │├────────────────────────────────────────────┤│ 1,3,5 │└────────────────────────────────────────────┘