diff --git a/dbt/include/snowflake/macros/catalog.sql b/dbt/include/snowflake/macros/catalog.sql index 97170964e..eaa7582e9 100644 --- a/dbt/include/snowflake/macros/catalog.sql +++ b/dbt/include/snowflake/macros/catalog.sql @@ -92,7 +92,7 @@ {%- endmacro %} -{% macro snowflake__get_catalog_schemas_where_clause_sql(schema) -%} +{% macro snowflake__get_catalog_schemas_where_clause_sql(schemas) -%} where ({%- for schema in schemas -%} upper("table_schema") = upper('{{ schema }}'){%- if not loop.last %} or {% endif -%} {%- endfor -%})