exclude null block timestamp txs (#44)

This commit is contained in:
tarikceric 2025-01-17 07:01:16 -08:00 committed by GitHub
parent 03de3d114b
commit 2af5bcde5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,6 +22,7 @@ WITH base AS (
WHERE
succeeded
AND log_messages IS NOT NULL
AND block_timestamp IS NOT NULL
{% if is_incremental() %}
AND _inserted_timestamp >= (SELECT max(_inserted_timestamp) FROM {{ this }})
{% endif %}