Merge pull request #57 from FlipsideCrypto/remove-lookback-filter-on-traces2

remove-lookback-filter-on-traces2
This commit is contained in:
Matt Romano 2025-04-09 13:27:25 -07:00 committed by GitHub
commit 07952a8ece
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 5 deletions

View File

@ -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) }}

View File

@ -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') }}