BITMAP_UNION_COUNT (Lakehouse v2)
Retorna a contagem de valores distintos na união de um conjunto de bitmaps.
Sintaxe do Analyze
Seção intitulada “Sintaxe do Analyze”func.bitmap_union_count(get_column(table, 'bm'))Exemplos do Analyze
Seção intitulada “Exemplos do Analyze”func.bitmap_union_count(get_column(table, 'user_bitmap'))
┌──────┐│ 5000 │└──────┘Sintaxe SQL
Seção intitulada “Sintaxe SQL”BITMAP_UNION_COUNT(<bm>)Exemplos SQL
Seção intitulada “Exemplos SQL”SELECT BITMAP_UNION_COUNT(user_bitmap) FROM daily_visits;
┌──────┐│ 5000 │└──────┘