BOOL_OR (Lakehouse v2)
Retorna TRUE se qualquer valor do grupo for TRUE.
Sintaxe no Analyze
Seção intitulada “Sintaxe no Analyze”func.bool_or(get_column(table, 'is_active'))Exemplos no Analyze
Seção intitulada “Exemplos no 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 │└────────────┴─────────────────────┘