BITMAP (Lakehouse v2)
Renvoie l’union bitmap d’un ensemble de valeurs. S’utilise généralement avec BITMAP_AGG.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.bitmap_agg(get_column(table, 'id'))Exemples Analyze
Section intitulée « Exemples Analyze »func.bitmap_agg(get_column(table, 'id'))
┌──────────┐│ (bitmap) │└──────────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »BITMAP(<id>)Exemples SQL
Section intitulée « Exemples SQL »SELECT BITMAP_COUNT(BITMAP_AGG(id)) FROM user_tags;
┌─────┐│ 500 │└─────┘