Skip to content

Commit

Permalink
remove .include from both alter
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy Hardy committed Oct 20, 2023
1 parent 7f89e2f commit f3cba5a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
alter {{ existing_relation.type|replace("_", " ") }} {{ existing_relation }} rename to {{ backup_relation }};
{% endif %}

alter materialized view {{ intermediate_relation }} rename to {{ relation.include(database=False, schema=False) }};
alter materialized view {{ intermediate_relation }} rename to {{ relation }};

{% endmacro %}

Expand Down

0 comments on commit f3cba5a

Please sign in to comment.