diff --git a/dbt/include/snowflake/macros/relations/view/create.sql b/dbt/include/snowflake/macros/relations/view/create.sql index d518ac3e1..de5fd9582 100644 --- a/dbt/include/snowflake/macros/relations/view/create.sql +++ b/dbt/include/snowflake/macros/relations/view/create.sql @@ -20,7 +20,7 @@ {{ get_assert_columns_equivalent(sql) }} {%- endif %} {% if copy_grants -%} copy grants {%- endif %} as ( - {{ sql }} + {{ sql|indent(4) }} ); {% endmacro %}