BOOL_OR (Lakehouse v2)
Devolve TRUE se algum valor do grupo for TRUE.
Sintaxe do Analyze
Seção intitulada “Sintaxe do Analyze”func.bool_or(get_column(table, 'is_active'))Exemplos do Analyze
Seção intitulada “Exemplos do Analyze”func.bool_or(get_column(table, 'is_active'))Sintaxe SQL
Seção intitulada “Sintaxe SQL”BOOL_OR(<is_active>)Exemplos de SQL
Seção intitulada “Exemplos de SQL”SELECT department, BOOL_OR(is_active) FROM employees GROUP BY department;
┌────────────┬─────────────────────┐│ department │ bool_or(is_active) │├────────────┼─────────────────────┤│ Sales │ 1 ││ IT │ 1 │└────────────┴─────────────────────┘