We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 119f750 commit 33923c2Copy full SHA for 33923c2
integration_tests/deprecated_tests/macros/e2e_tests/clear_tests.sql
@@ -24,7 +24,9 @@
24
25
{% macro default__drop_schema(database_name, schema_name) %}
26
{% set schema_relation = api.Relation.create(database=database_name, schema=schema_name) %}
27
- {% do dbt.drop_schema(schema_relation) %}
+ {%- call statement('drop_schema') -%}
28
+ drop schema if exists {{ schema_relation.database }}.{{ schema_relation.schema }} cascade
29
+ {% endcall %}
30
{% do adapter.commit() %}
31
{% do elementary.edr_log("dropped schema {}".format(schema_relation | string)) %}
32
{% endmacro %}
0 commit comments