Files
mars-elt/dbt/macros/data_transform/create_table_target.sql
Grzegorz Michalski 2c225d68ac init
2026-03-02 09:47:35 +01:00

10 lines
249 B
SQL

{% 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 %}