From 479c73e3db2043b89d03b1b61c01731c138152e1 Mon Sep 17 00:00:00 2001 From: Amy Chen <46451573+amychen1776@users.noreply.github.com> Date: Wed, 15 May 2024 16:12:35 -0400 Subject: [PATCH] update drop macro to include cascade --- .../redshift/macros/relations/materialized_view/drop.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbt/include/redshift/macros/relations/materialized_view/drop.sql b/dbt/include/redshift/macros/relations/materialized_view/drop.sql index 76f92e0e9..0db283817 100644 --- a/dbt/include/redshift/macros/relations/materialized_view/drop.sql +++ b/dbt/include/redshift/macros/relations/materialized_view/drop.sql @@ -1,3 +1,3 @@ {% macro redshift__drop_materialized_view(relation) -%} - drop materialized view if exists {{ relation }} + drop materialized view if exists {{ relation }} cascade {%- endmacro %}