dbt/include/maxcompute/macros/utils/bool_or.sql (3 lines of code) (raw):

-- The boolean function is an aggregate function. -- When there is true in the bool type group, it returns true, otherwise it returns false. {% macro maxcompute__bool_or(expression) -%} max({{ expression }}) {%- endmacro %}