mirror of
https://github.com/FlipsideCrypto/flow-models.git
synced 2026-02-06 09:16:59 +00:00
Some checks failed
docs_update / run_dbt_jobs (push) Has been cancelled
docs_update / notify-failure (push) Has been cancelled
dbt_run_streamline_decoded_logs_history / run_dbt_jobs (push) Has been cancelled
dbt_run_streamline_decoded_logs_history / notify-failure (push) Has been cancelled
* rm topshot * upd yml * deploy udf * upd blocks_realtime * sl func * bronze upd * v1 namespace * bronze v2 * prod endpoint * define api integrations for v2 --------- Co-authored-by: Jack Forgash <58153492+forgxyz@users.noreply.github.com>
20 lines
603 B
SQL
20 lines
603 B
SQL
{% macro create_udfs() %}
|
|
{% if var("UPDATE_UDFS_AND_SPS") %}
|
|
{% set sql %}
|
|
|
|
{{ create_udtf_get_base_table(
|
|
schema = "streamline"
|
|
) }}
|
|
{{ create_udf_get_chainhead() }}
|
|
{{ create_udf_get_chainhead_testnet() }}
|
|
{{ create_udf_bulk_grpc_v2() }}
|
|
|
|
{{ run_create_udf_array_disjunctive_union() }}
|
|
{{ run_create_address_array_adj() }}
|
|
|
|
{% endset %}
|
|
{% do run_query(sql) %}
|
|
{{- fsc_utils.create_udfs() -}}
|
|
{% endif %}
|
|
{% endmacro %}
|