diff --git a/.github/workflows/dbt_run_dev_refresh.yml b/.github/workflows/dbt_run_dev_refresh.yml index d3ebb557..508c4972 100644 --- a/.github/workflows/dbt_run_dev_refresh.yml +++ b/.github/workflows/dbt_run_dev_refresh.yml @@ -4,8 +4,8 @@ run-name: dbt_run_dev_refresh on: workflow_dispatch: schedule: - # Runs "at 9:00 UTC" (see https://crontab.guru) - - cron: '0 9 * * *' + # Runs "at 13:36 UTC Monday" (see https://crontab.guru) + - cron: '36 13 * * 1' env: DBT_PROFILES_DIR: ./ diff --git a/.github/workflows/dbt_run_streamline_decoder_history.yml b/.github/workflows/dbt_run_scheduled_decoded_logs_history_user_abis.yml similarity index 62% rename from .github/workflows/dbt_run_streamline_decoder_history.yml rename to .github/workflows/dbt_run_scheduled_decoded_logs_history_user_abis.yml index 875c66fd..63bf5a25 100644 --- a/.github/workflows/dbt_run_streamline_decoder_history.yml +++ b/.github/workflows/dbt_run_scheduled_decoded_logs_history_user_abis.yml @@ -1,12 +1,11 @@ -name: dbt_run_streamline_decoder_history -run-name: dbt_run_streamline_decoder_history +name: dbt_run_scheduled_decoded_logs_history_user_abis +run-name: dbt_run_scheduled_decoded_logs_history_user_abis on: workflow_dispatch: - schedule: - # Runs "at 10:00 UTC AM" (see https://crontab.guru) - - cron: '0 10 * * *' - + branches: + - "main" + env: DBT_PROFILES_DIR: ./ @@ -22,12 +21,10 @@ env: concurrency: group: ${{ github.workflow }} - - jobs: run_dbt_jobs: runs-on: ubuntu-latest - environment: + environment: name: workflow_prod steps: @@ -42,6 +39,7 @@ jobs: run: | pip install -r requirements.txt dbt deps - - name: Run DBT Jobs + + - name: Kick off decoded logs history, if there are new ABIs from users run: | - dbt run --threads 8 --vars '{"STREAMLINE_INVOKE_STREAMS":True,"WAIT":120}' -m "optimism_models,tag:streamline_decoded_logs_complete" "optimism_models,tag:streamline_decoded_logs_history" \ No newline at end of file + dbt run-operation run_decoded_logs_history \ No newline at end of file diff --git a/.github/workflows/dbt_run_streamline_decoded_logs_history.yml b/.github/workflows/dbt_run_streamline_decoded_logs_history.yml new file mode 100644 index 00000000..c38e4ddb --- /dev/null +++ b/.github/workflows/dbt_run_streamline_decoded_logs_history.yml @@ -0,0 +1,49 @@ +name: dbt_run_streamline_decoded_logs_history +run-name: dbt_run_streamline_decoded_logs_history + +on: + workflow_dispatch: + branches: + - "main" + +env: + DBT_PROFILES_DIR: ./ + + ACCOUNT: "${{ vars.ACCOUNT }}" + ROLE: "${{ vars.ROLE }}" + USER: "${{ vars.USER }}" + PASSWORD: "${{ secrets.PASSWORD }}" + REGION: "${{ vars.REGION }}" + DATABASE: "${{ vars.DATABASE }}" + WAREHOUSE: "${{ vars.WAREHOUSE }}" + SCHEMA: "${{ vars.SCHEMA }}" + +concurrency: + group: ${{ github.workflow }} + +jobs: + run_dbt_jobs: + runs-on: ubuntu-latest + environment: + name: workflow_prod + + steps: + - uses: actions/checkout@v3 + + - uses: actions/setup-python@v4 + with: + python-version: "3.10" + cache: "pip" + + - name: install dependencies + run: | + pip install -r requirements.txt + dbt deps + + - name: Update complete table + run: | + dbt run -m "optimism_models,tag:streamline_decoded_logs_complete" + + - name: Decode historical logs + run: | + dbt run-operation decoded_logs_history --vars '{"STREAMLINE_INVOKE_STREAMS":True}' \ No newline at end of file diff --git a/data/github_actions__workflows.csv b/data/github_actions__workflows.csv index 6ac4befb..d657baae 100644 --- a/data/github_actions__workflows.csv +++ b/data/github_actions__workflows.csv @@ -4,4 +4,6 @@ dbt_run_streamline_chainhead,"20,50 * * * *" dbt_run_streamline_decoder,"5,35 * * * *" dbt_run_scheduled_curated,"10 * * * *" dbt_test_intraday,"8 */4 * * *" -dbt_test_tasks,"15 * * * *" \ No newline at end of file +dbt_test_tasks,"15 * * * *" +dbt_run_streamline_decoded_logs_history,"5 20 * * 6" +dbt_run_scheduled_decoded_logs_history_user_abis,"39 23 * * *" \ No newline at end of file diff --git a/macros/decoder/decoded_logs_history.sql b/macros/decoder/decoded_logs_history.sql new file mode 100644 index 00000000..91b064c3 --- /dev/null +++ b/macros/decoder/decoded_logs_history.sql @@ -0,0 +1,126 @@ +{% macro decoded_logs_history(backfill_mode=false) %} + + {%- set params = { + "sql_limit": var("DECODED_LOGS_HISTORY_SQL_LIMIT", 7500000), + "producer_batch_size": var("DECODED_LOGS_HISTORY_PRODUCER_BATCH_SIZE", 400000), + "worker_batch_size": var("DECODED_LOGS_HISTORY_WORKER_BATCH_SIZE", 100000), + "producer_limit_size": var("DECODED_LOGS_HISTORY_WORKER_BATCH_SIZE", 100000) + } -%} + + {% set wait_time = var("DECODED_LOGS_HISTORY_WAIT_TIME", 60) %} + + {% set find_months_query %} + SELECT + DISTINCT date_trunc('month', block_timestamp)::date as month + FROM {{ ref('core__fact_blocks') }} + ORDER BY month ASC + {% endset %} + + {% set results = run_query(find_months_query) %} + + {% if execute %} + {% set months = results.columns[0].values() %} + + {% for month in months %} + {% set view_name = 'decoded_logs_history_' ~ month.strftime('%Y_%m') %} + + {% set create_view_query %} + create or replace view streamline.{{view_name}} as ( + WITH target_blocks AS ( + SELECT + block_number + FROM {{ ref('core__fact_blocks') }} + WHERE date_trunc('month', block_timestamp) = '{{month}}'::timestamp + ), + new_abis AS ( + SELECT + abi, + parent_contract_address, + event_signature, + start_block, + end_block + FROM {{ ref('silver__complete_event_abis') }} + {% if not backfill_mode %} + WHERE inserted_timestamp > dateadd('day', -30, sysdate()) + {% endif %} + ), + existing_logs_to_exclude AS ( + SELECT _log_id + FROM {{ ref('streamline__complete_decode_logs') }} l + INNER JOIN target_blocks b using (block_number) + ), + candidate_logs AS ( + SELECT + l.block_number, + l.tx_hash, + l.event_index, + l.contract_address, + l.topics, + l.data, + concat(l.tx_hash::string, '-', l.event_index::string) as _log_id + FROM target_blocks b + INNER JOIN {{ ref('core__fact_event_logs') }} l using (block_number) + WHERE l.tx_status = 'SUCCESS' and date_trunc('month', l.block_timestamp) = '{{month}}'::timestamp + ) + SELECT + l.block_number, + l._log_id, + A.abi, + OBJECT_CONSTRUCT( + 'topics', l.topics, + 'data', l.data, + 'address', l.contract_address + ) AS data + FROM candidate_logs l + INNER JOIN new_abis A + ON A.parent_contract_address = l.contract_address + AND A.event_signature = l.topics[0]::STRING + AND l.block_number BETWEEN A.start_block AND A.end_block + WHERE NOT EXISTS ( + SELECT 1 + FROM existing_logs_to_exclude e + WHERE e._log_id = l._log_id + ) + LIMIT {{ params.sql_limit }} + ) + {% endset %} + + {# Create the view #} + {% do run_query(create_view_query) %} + {{ log("Created view for month " ~ month.strftime('%Y-%m'), info=True) }} + + {% if var("STREAMLINE_INVOKE_STREAMS", false) %} + {# Check if rows exist first #} + {% set check_rows_query %} + SELECT EXISTS(SELECT 1 FROM streamline.{{view_name}} LIMIT 1) + {% endset %} + + {% set results = run_query(check_rows_query) %} + {% set has_rows = results.columns[0].values()[0] %} + + {% if has_rows %} + {# Invoke streamline since rows exist to decode #} + {% set decode_query %} + SELECT streamline.udf_bulk_decode_logs( + object_construct( + 'sql_source', '{{view_name}}', + 'producer_batch_size', {{ params.producer_batch_size }}, + 'producer_limit_size', {{ params.producer_limit_size }}) + ); + {% endset %} + + {% do run_query(decode_query) %} + {{ log("Triggered decoding for month " ~ month.strftime('%Y-%m'), info=True) }} + + {# Call wait since we actually did some decoding #} + {% do run_query("call system$wait(" ~ wait_time ~ ")") %} + {{ log("Completed wait after decoding for month " ~ month.strftime('%Y-%m'), info=True) }} + {% else %} + {{ log("No rows to decode for month " ~ month.strftime('%Y-%m'), info=True) }} + {% endif %} + {% endif %} + + {% endfor %} + {% endif %} + +{% endmacro %} \ No newline at end of file diff --git a/macros/decoder/run_decoded_logs_history.sql b/macros/decoder/run_decoded_logs_history.sql new file mode 100644 index 00000000..185ac826 --- /dev/null +++ b/macros/decoder/run_decoded_logs_history.sql @@ -0,0 +1,29 @@ +{% macro run_decoded_logs_history() %} + +{% set check_for_new_user_abis_query %} + select 1 + from {{ ref('silver__user_verified_abis') }} + where _inserted_timestamp::date = sysdate()::date + and dayname(sysdate()) <> 'Sat' +{% endset %} + +{% set results = run_query(check_for_new_user_abis_query) %} + +{% if execute %} + {% set new_user_abis = results.columns[0].values()[0] %} + + {% if new_user_abis %} + {% set invoke_workflow_query %} + SELECT + github_actions.workflow_dispatches( + 'FlipsideCrypto', + 'optimism-models', + 'dbt_run_streamline_decoded_logs_history.yml', + NULL + ) + {% endset %} + + {% do run_query(invoke_workflow_query) %} + {% endif %} +{% endif %} +{% endmacro %} \ No newline at end of file diff --git a/models/github_actions/github_actions__current_task_status.yml b/models/github_actions/github_actions__current_task_status.yml index 79231446..7f9db965 100644 --- a/models/github_actions/github_actions__current_task_status.yml +++ b/models/github_actions/github_actions__current_task_status.yml @@ -7,6 +7,8 @@ models: - dbt_expectations.expect_column_values_to_be_in_set: value_set: - TRUE + config: + severity: warn - name: SUCCESSES tests: - dbt_expectations.expect_column_values_to_be_in_set: diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_00000001_03021566.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_00000001_03021566.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_00000001_03021566.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0100712898_0102810202.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0100712898_0102810202.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0100712898_0102810202.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0102810205_0103571346.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0102810205_0103571346.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0102810205_0103571346.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_010309246_011523667.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_010309246_011523667.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_010309246_011523667.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0103571347_0104571347.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0103571347_0104571347.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0103571347_0104571347.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0104571348_0105571348.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0104571348_0105571348.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0104571348_0105571348.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0105571349_0106571349.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0105571349_0106571349.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0105571349_0106571349.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0106571350_0107571350.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0106571350_0107571350.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0106571350_0107571350.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0107571351_0108571351.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0107571351_0108571351.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0107571351_0108571351.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0108571352_0109571352.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0108571352_0109571352.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0108571352_0109571352.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0109571353_0110571353.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0109571353_0110571353.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0109571353_0110571353.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0110571354_0111571354.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0110571354_0111571354.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0110571354_0111571354.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0111571355_0112571355.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0111571355_0112571355.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0111571355_0112571355.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0112571356_0113571356.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0112571356_0113571356.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0112571356_0113571356.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0113571357_0114571357.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0113571357_0114571357.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0113571357_0114571357.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0114571358_0115571358.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0114571358_0115571358.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0114571358_0115571358.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_011523669_012507639.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_011523669_012507639.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_011523669_012507639.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0115571359_0116571359.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0115571359_0116571359.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0115571359_0116571359.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0116571360_0117571360.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0116571360_0117571360.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0116571360_0117571360.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0117571361_0118571361.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0117571361_0118571361.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0117571361_0118571361.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0118571362_0119571362.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0118571362_0119571362.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0118571362_0119571362.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0119571363_0120571363.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0119571363_0120571363.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0119571363_0120571363.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0120571364_0121571364.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0120571364_0121571364.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0120571364_0121571364.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0121571365_0122571365.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0121571365_0122571365.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0121571365_0122571365.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0122571366_0123571366.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0122571366_0123571366.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0122571366_0123571366.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0123571367_0124371367.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0123571367_0124371367.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0123571367_0124371367.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0124371368_0125171368.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0124371368_0125171368.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0124371368_0125171368.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_012507640_013665291.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_012507640_013665291.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_012507640_013665291.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0125171369_0125971369.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0125171369_0125971369.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0125171369_0125971369.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0125971370_0126771370.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0125971370_0126771370.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0125971370_0126771370.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0126771371_0127571371.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0126771371_0127571371.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0126771371_0127571371.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0127571372_0128371372.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0127571372_0128371372.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0127571372_0128371372.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0128371373_0129171373.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0128371373_0129171373.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0128371373_0129171373.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0129171374_0129971374.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0129171374_0129971374.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0129171374_0129971374.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0129971375_0130771375.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0129971375_0130771375.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0129971375_0130771375.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0130771376_0131571376.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0130771376_0131571376.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0130771376_0131571376.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0131571377_0132371377.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0131571377_0132371377.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0131571377_0132371377.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0132371378_0133171378.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0132371378_0133171378.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0132371378_0133171378.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0133171379_0133971379.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0133171379_0133971379.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0133171379_0133971379.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0133971380_0134771380.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0133971380_0134771380.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0133971380_0134771380.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0134771381_0135571381.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0134771381_0135571381.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0134771381_0135571381.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0135571382_0136371382.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0135571382_0136371382.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0135571382_0136371382.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0136371383_0137171383.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0136371383_0137171383.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0136371383_0137171383.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_013665292_014900517.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_013665292_014900517.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_013665292_014900517.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0137171384_0137971384.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0137171384_0137971384.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0137171384_0137971384.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0137971385_0138771385.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0137971385_0138771385.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0137971385_0138771385.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0138771386_0139571386.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0138771386_0139571386.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0138771386_0139571386.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0139571387_0140371387.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0139571387_0140371387.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0139571387_0140371387.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0140371388_0141171388.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0140371388_0141171388.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0140371388_0141171388.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0141171389_0141971389.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0141171389_0141971389.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0141171389_0141971389.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0141971390_0142771390.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0141971390_0142771390.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0141971390_0142771390.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0142771391_0143571391.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0142771391_0143571391.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0142771391_0143571391.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0143571392_0144371392.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0143571392_0144371392.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0143571392_0144371392.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0144371393_0145171393.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0144371393_0145171393.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0144371393_0145171393.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0145171394_0145971394.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0145171394_0145971394.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0145171394_0145971394.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0145971395_0146771395.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0145971395_0146771395.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0145971395_0146771395.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0146771396_0147571396.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0146771396_0147571396.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0146771396_0147571396.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0147571397_0148371397.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0147571397_0148371397.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0147571397_0148371397.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0148371398_0149171398.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0148371398_0149171398.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0148371398_0149171398.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_014900518_015881824.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_014900518_015881824.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_014900518_015881824.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0149171399_0149971399.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0149171399_0149971399.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0149171399_0149971399.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0149971400_0150771400.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0149971400_0150771400.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0149971400_0150771400.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0150771401_0151571401.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0150771401_0151571401.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0150771401_0151571401.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0151571402_0152371402.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0151571402_0152371402.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0151571402_0152371402.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0152371403_0153171403.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0152371403_0153171403.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0152371403_0153171403.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0153171404_0153971404.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0153171404_0153971404.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0153171404_0153971404.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0153971405_0154771405.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0153971405_0154771405.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0153971405_0154771405.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0154771406_0155571406.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0154771406_0155571406.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0154771406_0155571406.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0155571407_0156371407.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0155571407_0156371407.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0155571407_0156371407.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0156371408_0157171408.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0156371408_0157171408.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0156371408_0157171408.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0157171409_0157971409.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0157171409_0157971409.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0157171409_0157971409.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0157971410_0158771410.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0157971410_0158771410.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0157971410_0158771410.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0158771411_0159571411.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0158771411_0159571411.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0158771411_0159571411.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_015881825_016703952.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_015881825_016703952.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_015881825_016703952.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0159571412_0160371412.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0159571412_0160371412.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0159571412_0160371412.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0160371413_0161171413.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0160371413_0161171413.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0160371413_0161171413.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0161171414_0161971414.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0161171414_0161971414.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0161171414_0161971414.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0161971415_0162771415.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0161971415_0162771415.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0161971415_0162771415.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0162771416_0163571416.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0162771416_0163571416.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0162771416_0163571416.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0163571417_0164371417.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0163571417_0164371417.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0163571417_0164371417.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0164371418_0165171418.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0164371418_0165171418.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0164371418_0165171418.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0165171419_0165971419.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0165171419_0165971419.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0165171419_0165971419.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0165971420_0166771420.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0165971420_0166771420.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0165971420_0166771420.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0166771421_0167571421.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0166771421_0167571421.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0166771421_0167571421.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_016703953_017379884.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_016703953_017379884.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_016703953_017379884.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0167571422_0168371422.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0167571422_0168371422.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0167571422_0168371422.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0168371423_0169171423.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0168371423_0169171423.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0168371423_0169171423.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0169171424_0169971424.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0169171424_0169971424.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0169171424_0169971424.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0169971425_0170771425.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0169971425_0170771425.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0169971425_0170771425.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0170771426_0171571426.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0170771426_0171571426.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0170771426_0171571426.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0171571427_0172371427.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0171571427_0172371427.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0171571427_0172371427.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0172371428_0173171428.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0172371428_0173171428.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0172371428_0173171428.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0173171429_0173971429.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0173171429_0173971429.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0173171429_0173971429.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_017379885_018041139.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_017379885_018041139.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_017379885_018041139.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0173971430_0174771430.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0173971430_0174771430.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0173971430_0174771430.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0174771431_0175571431.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0174771431_0175571431.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0174771431_0175571431.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0175571432_0176371432.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0175571432_0176371432.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0175571432_0176371432.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0176371433_0177171433.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0176371433_0177171433.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0176371433_0177171433.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0177171434_0177971434.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0177171434_0177971434.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0177171434_0177971434.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0177971435_0178771435.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0177971435_0178771435.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0177971435_0178771435.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0178771436_0179571436.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0178771436_0179571436.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0178771436_0179571436.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0179571437_0180371437.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0179571437_0180371437.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0179571437_0180371437.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0180371438_0181171438.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0180371438_0181171438.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0180371438_0181171438.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_018041142_018811621.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_018041142_018811621.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_018041142_018811621.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0181171439_0181971439.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0181171439_0181971439.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0181171439_0181971439.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0181971440_0182771440.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0181971440_0182771440.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0181971440_0182771440.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0182771441_0183571441.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0182771441_0183571441.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0182771441_0183571441.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0183571442_0184371442.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0183571442_0184371442.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0183571442_0184371442.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0184371443_0185171443.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0184371443_0185171443.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0184371443_0185171443.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0185171444_0185971444.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0185171444_0185971444.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0185171444_0185971444.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0185971445_0186771445.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0185971445_0186771445.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0185971445_0186771445.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0186771446_0187571446.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0186771446_0187571446.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0186771446_0187571446.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0187571447_0188371447.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0187571447_0188371447.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0187571447_0188371447.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_018811622_019622965.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_018811622_019622965.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_018811622_019622965.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0188371448_0189171448.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0188371448_0189171448.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0188371448_0189171448.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0189171449_0189971449.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0189171449_0189971449.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0189171449_0189971449.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0189971450_0190771450.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0189971450_0190771450.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0189971450_0190771450.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0190771451_0191571451.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_0190771451_0191571451.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_0190771451_0191571451.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_019622966_020390871.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_019622966_020390871.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_019622966_020390871.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_020390872_021292082.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_020390872_021292082.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_020390872_021292082.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_021292083_022265964.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_021292083_022265964.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_021292083_022265964.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_022265965_023061463.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_022265965_023061463.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_022265965_023061463.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_023061464_023986260.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_023061464_023986260.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_023061464_023986260.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_023986261_025348423.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_023986261_025348423.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_023986261_025348423.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_025348424_026740437.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_025348424_026740437.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_025348424_026740437.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_026740438_028477690.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_026740438_028477690.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_026740438_028477690.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_028477691_029967852.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_028477691_029967852.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_028477691_029967852.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_029967853_031444407.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_029967853_031444407.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_029967853_031444407.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_03021567_04851361.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_03021567_04851361.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_03021567_04851361.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_031444411_032627214.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_031444411_032627214.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_031444411_032627214.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_032627215_033854992.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_032627215_033854992.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_032627215_033854992.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_033854993_034878372.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_033854993_034878372.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_033854993_034878372.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_034878373_035890089.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_034878373_035890089.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_034878373_035890089.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_035890090_036635448.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_035890090_036635448.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_035890090_036635448.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_036635449_037751058.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_036635449_037751058.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_036635449_037751058.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_037751059_038943377.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_037751059_038943377.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_037751059_038943377.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_038943379_040483748.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_038943379_040483748.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_038943379_040483748.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_040483749_041812218.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_040483749_041812218.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_040483749_041812218.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_041812219_043321254.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_041812219_043321254.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_041812219_043321254.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_043321255_044782426.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_043321255_044782426.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_043321255_044782426.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_044782427_046490202.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_044782427_046490202.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_044782427_046490202.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_046490203_048337193.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_046490203_048337193.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_046490203_048337193.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_048337194_049746747.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_048337194_049746747.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_048337194_049746747.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_04851362_06531437.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_04851362_06531437.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_04851362_06531437.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_049746748_051600538.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_049746748_051600538.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_049746748_051600538.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_051600540_053583002.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_051600540_053583002.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_051600540_053583002.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_053583003_055810705.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_053583003_055810705.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_053583003_055810705.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_055810706_058032066.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_055810706_058032066.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_055810706_058032066.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_058032067_060175390.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_058032067_060175390.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_058032067_060175390.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_060175391_062359028.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_060175391_062359028.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_060175391_062359028.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_062359029_064221436.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_062359029_064221436.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_062359029_064221436.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_064221437_065934924.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_064221437_065934924.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_064221437_065934924.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_06531438_08118010.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_06531438_08118010.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_06531438_08118010.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_065934925_067391884.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_065934925_067391884.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_065934925_067391884.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_067391886_068949701.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_067391886_068949701.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_067391886_068949701.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_068949702_069755021.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_068949702_069755021.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_068949702_069755021.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_069755022_070571769.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_069755022_070571769.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_069755022_070571769.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_070571773_071497996.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_070571773_071497996.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_070571773_071497996.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_071497997_072325442.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_071497997_072325442.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_071497997_072325442.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_072325443_073218735.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_072325443_073218735.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_072325443_073218735.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_073218736_074336051.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_073218736_074336051.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_073218736_074336051.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_074336052_075446627.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_074336052_075446627.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_074336052_075446627.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_075446628_076501484.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_075446628_076501484.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_075446628_076501484.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_076501485_077682982.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_076501485_077682982.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_076501485_077682982.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_077682983_078763292.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_077682983_078763292.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_077682983_078763292.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_078763293_079804130.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_078763293_079804130.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_078763293_079804130.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_079804131_080621729.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_079804131_080621729.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_079804131_080621729.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_080621730_081505444.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_080621730_081505444.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_080621730_081505444.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_08118011_010309244.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_08118011_010309244.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_08118011_010309244.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_081505445_082495505.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_081505445_082495505.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_081505445_082495505.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_082495506_083673827.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_082495506_083673827.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_082495506_083673827.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_083673828_084925845.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_083673828_084925845.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_083673828_084925845.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_084925846_086272388.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_084925846_086272388.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_084925846_086272388.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_086272389_088165714.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_086272389_088165714.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_086272389_088165714.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_088165715_089573325.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_088165715_089573325.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_088165715_089573325.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_089573326_091261046.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_089573326_091261046.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_089573326_091261046.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_091261047_092787688.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_091261047_092787688.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_091261047_092787688.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_092787689_094517141.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_092787689_094517141.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_092787689_094517141.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_094517142_096153705.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_094517142_096153705.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_094517142_096153705.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_096153706_097707082.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_096153706_097707082.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_096153706_097707082.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_097707083_099393604.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_097707083_099393604.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_097707083_099393604.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/history/streamline__decode_logs_history_099393605_0100712897.sql b/models/streamline/silver/decoder/history/streamline__decode_logs_history_099393605_0100712897.sql deleted file mode 100644 index cb4ad80a..00000000 --- a/models/streamline/silver/decoder/history/streamline__decode_logs_history_099393605_0100712897.sql +++ /dev/null @@ -1,12 +0,0 @@ -{{ config ( - materialized = "view", - post_hook = [if_data_call_function( func = "{{model.schema}}.udf_bulk_decode_logs(object_construct('sql_source', '{{model.alias}}','producer_batch_size', 20000000,'producer_limit_size', {{var('row_limit',7500000)}}))", target = "{{model.schema}}.{{model.alias}}" ) ,if_data_call_wait()], - tags = ['streamline_decoded_logs_history'] -) }} - -{% set start = this.identifier.split("_") [-2] %} -{% set stop = this.identifier.split("_") [-1] %} -{{ fsc_utils.decode_logs_history( - start, - stop -) }} diff --git a/models/streamline/silver/decoder/realtime/streamline__decode_logs_realtime.sql b/models/streamline/silver/decoder/realtime/streamline__decode_logs_realtime.sql index 3c9f43f1..97e293a4 100644 --- a/models/streamline/silver/decoder/realtime/streamline__decode_logs_realtime.sql +++ b/models/streamline/silver/decoder/realtime/streamline__decode_logs_realtime.sql @@ -4,12 +4,50 @@ tags = ['streamline_decoded_logs_realtime'] ) }} -WITH look_back AS ( +WITH target_blocks AS ( SELECT block_number + FROM + {{ ref('core__fact_blocks') }} + WHERE + block_number >= ( + SELECT + block_number + FROM + {{ ref("_block_lookback") }} + ) +), +existing_logs_to_exclude AS ( + SELECT + _log_id FROM - {{ ref("_24_hour_lookback") }} + {{ ref('streamline__complete_decode_logs') }} + l + INNER JOIN target_blocks b USING (block_number) + WHERE + l._inserted_timestamp :: DATE >= DATEADD('day', -5, SYSDATE()) +), +candidate_logs AS ( + SELECT + l.block_number, + l.tx_hash, + l.event_index, + l.contract_address, + l.topics, + l.data, + CONCAT( + l.tx_hash :: STRING, + '-', + l.event_index :: STRING + ) AS _log_id + FROM + target_blocks b + INNER JOIN {{ ref('core__fact_event_logs') }} + l USING (block_number) + WHERE + l.tx_status = 'SUCCESS' + AND l.inserted_timestamp :: DATE >= DATEADD('day', -5, SYSDATE()) ) SELECT l.block_number, @@ -24,34 +62,19 @@ SELECT l.contract_address ) AS DATA FROM - {{ ref("silver__logs") }} - l - INNER JOIN {{ ref("silver__complete_event_abis") }} A + candidate_logs l + INNER JOIN {{ ref('silver__complete_event_abis') }} A ON A.parent_contract_address = l.contract_address AND A.event_signature = l.topics [0] :: STRING AND l.block_number BETWEEN A.start_block AND A.end_block WHERE - ( - l.block_number >= ( - SELECT - block_number - FROM - look_back - ) - ) - AND l.block_number IS NOT NULL - AND l.block_timestamp >= DATEADD('day', -2, CURRENT_DATE()) - AND _log_id NOT IN ( + NOT EXISTS ( SELECT - _log_id + 1 FROM - {{ ref("streamline__complete_decode_logs") }} + existing_logs_to_exclude e WHERE - block_number >= ( - SELECT - block_number - FROM - look_back - ) - AND _inserted_timestamp >= DATEADD('day', -2, CURRENT_DATE())) + e._log_id = l._log_id + ) +limit 7500000 \ No newline at end of file