mirror of
https://github.com/FlipsideCrypto/sei-models.git
synced 2026-02-06 09:22:03 +00:00
fix naming macro for 1.8 (#52)
Co-authored-by: desmond-hui <desmond@flipsidecryto.com>
This commit is contained in:
parent
0e8bb4253d
commit
29a44c8fbc
@ -13,7 +13,12 @@
|
||||
) -%}
|
||||
{% set node_name = node.name %}
|
||||
{% set split_name = node_name.split('__') %}
|
||||
{{ split_name [1] | trim }}
|
||||
|
||||
{% if split_name | length < 2 %}
|
||||
{{ split_name [0] | trim }}
|
||||
{% else %}
|
||||
{{ split_name [1] | trim }}
|
||||
{% endif %}
|
||||
{%- endmacro %}
|
||||
|
||||
{% macro generate_tmp_view_name(model_name) -%}
|
||||
|
||||
@ -1,2 +1,3 @@
|
||||
dbt-snowflake>=1.7,<1.8
|
||||
dbt-core>=1.8,<1.9
|
||||
dbt-snowflake>=1.8,<1.9
|
||||
protobuf==4.25.3
|
||||
Loading…
Reference in New Issue
Block a user