mirror of
https://github.com/FlipsideCrypto/kaia-models.git
synced 2026-02-06 14:11:45 +00:00
Merge pull request #57 from FlipsideCrypto/remove-lookback-filter-on-traces2
remove-lookback-filter-on-traces2
This commit is contained in:
commit
07952a8ece
@ -25,14 +25,11 @@ WITH silver_traces AS (
|
||||
1 = 1
|
||||
|
||||
{% if is_incremental() and not var('full_reload_mode', false) %}
|
||||
AND block_number >= 160000000
|
||||
AND modified_timestamp > (
|
||||
SELECT
|
||||
MAX(modified_timestamp)
|
||||
FROM
|
||||
{{ this }}
|
||||
WHERE
|
||||
block_number > 160000000
|
||||
)
|
||||
{% elif is_incremental() and var('full_reload_mode', false) %}
|
||||
AND block_number < {{ var('RELOAD_BLOCK_MAX', 10000000) }}
|
||||
|
||||
@ -27,8 +27,6 @@ WITH bronze_traces AS (
|
||||
{{ this }}
|
||||
)
|
||||
AND DATA :result IS NOT NULL
|
||||
and block_number > 160000000
|
||||
and partition_key > 160000000
|
||||
|
||||
{% elif is_incremental() and var('full_reload_mode', false) and not var('initial_load', false) %}
|
||||
{{ ref('bronze__streamline_fr_traces') }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user