This commit is contained in:
drethereum 2025-04-09 12:48:29 -06:00 committed by GitHub
parent 02f27d39c3
commit 19f6bf3f0d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -96,13 +96,13 @@ ccip_sent AS (
AND event_removed = FALSE
{% if is_incremental() %}
AND modified_timestamp >= (
AND l.modified_timestamp >= (
SELECT
MAX(modified_timestamp) - INTERVAL '12 hours'
FROM
{{ this }}
)
AND modified_timestamp >= SYSDATE() - INTERVAL '7 day'
AND l.modified_timestamp >= SYSDATE() - INTERVAL '7 day'
{% endif %}
)
SELECT