mirror of
https://github.com/FlipsideCrypto/flow-models.git
synced 2026-02-06 15:51:48 +00:00
add UPDATE_LQ_UDFS project var (#194)
* add UPDATE_LQ_UDFS project var * rename UPDATE_LQ_UDFS to UPDATE_EPHEMERAL_UDFS --------- Co-authored-by: shah <info@shahnewazkhan.ca>
This commit is contained in:
parent
c663e7523e
commit
aaacbcf7e7
2
Makefile
2
Makefile
@ -94,4 +94,4 @@ lq_overloads:
|
||||
--profile flow \
|
||||
--target $(DBT_TARGET) \
|
||||
--profiles-dir ~/.dbt \
|
||||
--vars '{"UPDATE_LQ_UDFS":True}'
|
||||
--vars '{"UPDATE_EPHEMERAL_UDFS":True}'
|
||||
@ -59,6 +59,7 @@ vars:
|
||||
"dbt_date:time_zone": GMT
|
||||
UPDATE_SNOWFLAKE_TAGS: True
|
||||
UPDATE_UDFS_AND_SPS: False
|
||||
UPDATE_EPHEMERAL_UDFS: False
|
||||
OBSERV_FULL_TEST: False
|
||||
STREAMLINE_USE_DEV_FOR_EXTERNAL_TABLES: False
|
||||
STREAMLINE_INVOKE_STREAMS: False
|
||||
|
||||
@ -106,7 +106,7 @@
|
||||
It should only be used within an ephemeral model.
|
||||
#}
|
||||
|
||||
{% if execute and (var("UPDATE_LQ_UDFS") or var("DROP_UDFS_AND_SPS")) and model.unique_id in selected_resources %}
|
||||
{% if execute and (var("UPDATE_EPHEMERAL_UDFS") or var("DROP_UDFS_AND_SPS")) and model.unique_id in selected_resources %}
|
||||
{% set sql %}
|
||||
{{- crud_udfs(config, this.schema, var("DROP_UDFS_AND_SPS")) -}}
|
||||
{%- endset -%}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user