-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update replace macro dependent macros to align with naming standards
- Loading branch information
1 parent
24ebc37
commit a7db607
Showing
5 changed files
with
28 additions
and
28 deletions.
There are no files selected for viewing
8 changes: 4 additions & 4 deletions
8
...lobal_project/macros/relations/backup.sql → ...roject/macros/relations/create_backup.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
...global_project/macros/relations/stage.sql → .../macros/relations/create_intermediate.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 0 additions & 14 deletions
14
core/dbt/include/global_project/macros/relations/deploy_stage.sql
This file was deleted.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
core/dbt/include/global_project/macros/relations/rename_intermediate.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{%- macro get_rename_intermediate_sql(relation) -%} | ||
{{- log('Applying RENAME INTERMEDIATE to: ' ~ relation) -}} | ||
{{- adapter.dispatch('get_rename_intermediate_sql', 'dbt')(relation) -}} | ||
{%- endmacro -%} | ||
|
||
|
||
{%- macro default__get_rename_intermediate_sql(relation) -%} | ||
|
||
-- get the standard intermediate name | ||
{% set intermediate_relation = make_intermediate_relation(relation) %} | ||
|
||
{{ get_rename_sql(intermediate_relation, relation.identifier) }} | ||
|
||
{%- endmacro -%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters