init
This commit is contained in:
9
dbt/macros/data_transform/create_table_target.sql
Normal file
9
dbt/macros/data_transform/create_table_target.sql
Normal file
@@ -0,0 +1,9 @@
|
||||
{% macro create_table_target (model) %}
|
||||
{#
|
||||
Creates a target table with the same structure and content as the source table.
|
||||
Usually used to move data from SQ tables to the target table.
|
||||
#}
|
||||
select
|
||||
*
|
||||
from {{ ref(model) }} source_table
|
||||
{% endmacro %}
|
||||
Reference in New Issue
Block a user