Skip to content

Commit c92b6a9

Browse files
Revert "Fix get_elementary_database_and_schema to use actual elementary schema"
This reverts commit 1fc1952.
1 parent 1fc1952 commit c92b6a9

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

elementary/monitor/dbt_project/macros/get_elementary_database_and_schema.sql

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
{% macro get_elementary_database_and_schema() %}
2-
{# Use ref() to get the actual schema where elementary tables are created,
3-
accounting for any custom schema configuration in the user's dbt_project.yml #}
4-
{% set elementary_relation = ref('elementary', 'dbt_models') %}
5-
{% set database = elementary_relation.database %}
6-
{% set schema = elementary_relation.schema %}
2+
{% set database, schema = elementary.target_database(), target.schema %}
73
{% if database %}
84
{% do return(database ~ '.' ~ schema) %}
95
{% else %}

0 commit comments

Comments
 (0)