From 3b7dbff82011da8773b38d5b455cdec3e6cb811c Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Tue, 3 Oct 2023 23:17:34 -0400 Subject: [PATCH] fix typo in schemas argument --- dbt/include/snowflake/macros/catalog.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -%})