mirror of
https://github.com/FlipsideCrypto/blast-models.git
synced 2026-02-06 17:01:52 +00:00
* updated the blast model to use release 1.2 * removed user.ymal * chainhead history and package temp * v1.22 * udf name * package upgrade, config in dbt_project * chainhead * updates for quantum and standardization * remove limits * removed the 2nd param in the receipts model * if data_call_function v2 * block number column adj * removed param --------- Co-authored-by: drethereum <trevor.wenokur@gmail.com> Co-authored-by: drethereum <71602799+drethereum@users.noreply.github.com>
18 lines
469 B
SQL
18 lines
469 B
SQL
{% macro create_udfs() %}
|
|
{% if var("UPDATE_UDFS_AND_SPS") %}
|
|
{% set sql %}
|
|
CREATE schema if NOT EXISTS silver;
|
|
|
|
{{ create_udtf_get_base_table(
|
|
schema = "streamline"
|
|
) }}
|
|
{{ create_udf_bulk_rest_api_v2() }}
|
|
{{ create_aws_blast_api() }}
|
|
{{ create_udf_bulk_decode_logs() }}
|
|
|
|
{% endset %}
|
|
{% do run_query(sql) %}
|
|
{{- fsc_utils.create_udfs() -}}
|
|
{% endif %}
|
|
{% endmacro %}
|