mirror of
https://github.com/FlipsideCrypto/flow-models.git
synced 2026-02-06 09:16:59 +00:00
modify how dbt performs merges by default (#213)
This commit is contained in:
parent
fc5045a44a
commit
8ff2e1aa07
@ -15,3 +15,9 @@
|
||||
{% set split_name = node_name.split('__') %}
|
||||
{{ split_name [1] | trim }}
|
||||
{%- endmacro %}
|
||||
|
||||
{% macro generate_tmp_view_name(model_name) -%}
|
||||
{% set node_name = model_name.name %}
|
||||
{% set split_name = node_name.split('__') %}
|
||||
{{ target.database ~ '.' ~ split_name[0] ~ '.' ~ split_name [1] ~ '__dbt_tmp' | trim }}
|
||||
{%- endmacro %}
|
||||
4
macros/dbt/get_tmp_relation_type.sql
Normal file
4
macros/dbt/get_tmp_relation_type.sql
Normal file
@ -0,0 +1,4 @@
|
||||
{% macro dbt_snowflake_get_tmp_relation_type(strategy, unique_key, language) %}
|
||||
-- always table
|
||||
{{ return('table') }}
|
||||
{% endmacro %}
|
||||
Loading…
Reference in New Issue
Block a user