Skip to content

Commit 80f9ea6

Browse files
author
Michael Myaskovsky
committed
changed name to edr
1 parent 905cd77 commit 80f9ea6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

integration_tests/deprecated_tests/macros/e2e_tests/clear_tests.sql

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,33 @@
33

44
{% set database_name = elementary.target_database() %}
55
{% set schema_name = target.schema %}
6-
{% do elementary_integration_tests.elmt_drop_schema(database_name, schema_name) %}
6+
{% do elementary_integration_tests.edr_drop_schema(database_name, schema_name) %}
77

88
{% set database_name, schema_name = elementary.get_package_database_and_schema('elementary') %}
9-
{% do elementary_integration_tests.elmt_drop_schema(database_name, schema_name) %}
9+
{% do elementary_integration_tests.edr_drop_schema(database_name, schema_name) %}
1010

1111
{% set tests_schema_name = elementary.get_elementary_tests_schema(database_name, schema_name) %}
1212
{% if tests_schema_name != schema_name %}
13-
{% do elementary_integration_tests.elmt_drop_schema(database_name, tests_schema_name) %}
13+
{% do elementary_integration_tests.edr_drop_schema(database_name, tests_schema_name) %}
1414
{% else %}
1515
{{ elementary.edr_log("Tests schema is the same as the main elementary schema, nothing to drop.") }}
1616
{% endif %}
1717
{% endif %}
1818
{{ return('') }}
1919
{% endmacro %}
2020

21-
{% macro elmt_drop_schema(database_name, schema_name) %}
22-
{% do return(adapter.dispatch('elmt_drop_schema','elementary_integration_tests')(database_name, schema_name)) %}
21+
{% macro edr_drop_schema(database_name, schema_name) %}
22+
{% do return(adapter.dispatch('edr_drop_schema','elementary_integration_tests')(database_name, schema_name)) %}
2323
{% endmacro %}
2424

25-
{% macro default__elmt_drop_schema(database_name, schema_name) %}
25+
{% macro default__edr_drop_schema(database_name, schema_name) %}
2626
{% set schema_relation = api.Relation.create(database=database_name, schema=schema_name) %}
2727
{% do dbt.drop_schema(schema_relation) %}
2828
{% do adapter.commit() %}
2929
{% do elementary.edr_log("dropped schema {}".format(schema_relation | string)) %}
3030
{% endmacro %}
3131

32-
{% macro clickhouse__elmt_drop_schema(database_name, schema_name) %}
32+
{% macro clickhouse__edr_drop_schema(database_name, schema_name) %}
3333
{% set results = run_query("SELECT name FROM system.tables WHERE database = '" ~ database_name ~ "'") %}
3434
{% if execute %}
3535
{% for row in results %}

0 commit comments

Comments
 (0)