avalanche-models/models/silver/core/silver__traces.sql
Sam ffa43f3a23
An 5714/traces2 hotswap avaxdexalot (#299)
* delete workflow and comment out fix

* add

* add avalanche

* add dexalot

* add tests

* delete old

* tests

* avax

* tests

---------

Co-authored-by: Austin <austin@flipsidecrypto.com>
2025-01-30 11:01:11 -05:00

15 lines
481 B
SQL

-- depends_on: {{ ref('bronze__traces') }}
{{ config (
materialized = "incremental",
incremental_strategy = 'delete+insert',
unique_key = "block_number",
cluster_by = ['modified_timestamp::DATE','partition_key'],
post_hook = "ALTER TABLE {{ this }} ADD SEARCH OPTIMIZATION",
full_refresh = false,
tags = ['non_realtime']
) }}
{{ silver_traces_v1(
full_reload_start_block = 5000000,
full_reload_blocks = 3000000,
use_partition_key = true
) }}