mirror of
https://github.com/FlipsideCrypto/flow-models.git
synced 2026-02-06 13:26:44 +00:00
* txs final and upd streamline tests w 1 hr inserted timestamp buffer * copy silver models into silver_cw dir * txs final, events model, curated model _s copies * add pending col to txs final * test config for pending_result_response * add coalesce to tx id in txs final * rem tests on inserted timestamp * uppercase gap test vars * add retry for null block timestamp and del mainnet23 filter from events * address adj append 0x, add network ver to blocks, etc * upd coalesce on events data * saving event migration test, disabled * req changes * upd txs final ingested logic
24 lines
765 B
SQL
24 lines
765 B
SQL
{% macro create_udfs() %}
|
|
{% if var("UPDATE_UDFS_AND_SPS") %}
|
|
{% if target.database != "FLOW_COMMUNITY_DEV" %}
|
|
{% set sql %}
|
|
|
|
{{ udf_bulk_get_topshot_moments_minted_metadata() }};
|
|
{{ udf_bulk_get_nfl_allday_moments_metadata() }};
|
|
|
|
{{ create_udtf_get_base_table(
|
|
schema = "streamline"
|
|
) }}
|
|
{{ create_udf_get_chainhead() }}
|
|
{{ create_udf_bulk_grpc() }}
|
|
|
|
{{ run_create_udf_array_disjunctive_union() }}
|
|
{{ run_create_address_array_adj() }}
|
|
|
|
{% endset %}
|
|
{% do run_query(sql) %}
|
|
{{- fsc_utils.create_udfs() -}}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endmacro %}
|