2022-06-28 16:24:09 +00:00
|
|
|
{% macro create_udfs() %}
|
2023-06-06 17:33:54 +00:00
|
|
|
{% if var("UPDATE_UDFS_AND_SPS") %}
|
|
|
|
|
{% set sql %}
|
2023-07-24 16:24:52 +00:00
|
|
|
|
|
|
|
|
{{ create_udtf_get_base_table(
|
|
|
|
|
schema = "streamline"
|
|
|
|
|
) }}
|
|
|
|
|
{{ create_udf_get_chainhead() }}
|
2024-06-25 18:12:51 +00:00
|
|
|
{{ create_udf_get_chainhead_testnet() }}
|
2025-10-23 18:15:13 +00:00
|
|
|
{{ create_udf_bulk_grpc_v2() }}
|
2023-07-24 16:24:52 +00:00
|
|
|
|
2023-09-05 22:44:38 +00:00
|
|
|
{{ run_create_udf_array_disjunctive_union() }}
|
2023-10-10 19:24:43 +00:00
|
|
|
{{ run_create_address_array_adj() }}
|
2023-09-05 22:44:38 +00:00
|
|
|
|
2023-06-06 17:33:54 +00:00
|
|
|
{% endset %}
|
|
|
|
|
{% do run_query(sql) %}
|
|
|
|
|
{{- fsc_utils.create_udfs() -}}
|
2022-10-17 23:32:28 +00:00
|
|
|
{% endif %}
|
2022-06-28 16:24:09 +00:00
|
|
|
{% endmacro %}
|