From f39276cc18b30c29bf9830c7b2ee549d2ee141c6 Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Wed, 22 May 2024 17:36:35 -0400 Subject: [PATCH] jinja typo --- dbt/include/snowflake/macros/relations/table/rename.sql | 2 +- dbt/include/snowflake/macros/relations/view/rename.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dbt/include/snowflake/macros/relations/table/rename.sql b/dbt/include/snowflake/macros/relations/table/rename.sql index 990fe2c4b..6287c6cab 100644 --- a/dbt/include/snowflake/macros/relations/table/rename.sql +++ b/dbt/include/snowflake/macros/relations/table/rename.sql @@ -1,3 +1,3 @@ {%- macro snowflake__get_rename_table_sql(relation, new_name) -%} - alter table {{ relation }} rename to {{ relation.incorporate(identifier=new_name}) }} + alter table {{ relation }} rename to {{ relation.incorporate(identifier=new_name) }} {%- endmacro -%} diff --git a/dbt/include/snowflake/macros/relations/view/rename.sql b/dbt/include/snowflake/macros/relations/view/rename.sql index ae0b06c58..97a592cf1 100644 --- a/dbt/include/snowflake/macros/relations/view/rename.sql +++ b/dbt/include/snowflake/macros/relations/view/rename.sql @@ -1,3 +1,3 @@ {%- macro snowflake__get_rename_view_sql(relation, new_name) -%} - alter view {{ relation }} rename to {{ relation.incorporate(identifier=new_name}) }} + alter view {{ relation }} rename to {{ relation.incorporate(identifier=new_name) }} {%- endmacro -%}