filter out null responses; add buffer to realtime (#34)

This commit is contained in:
tarikceric 2024-12-19 11:46:11 -08:00 committed by GitHub
parent 24d47a8561
commit afbe2e067b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 1 deletions

View File

@ -43,6 +43,7 @@ WITH pre_final AS (
WHERE
block_id IS NOT NULL
AND error IS NULL
AND data IS NOT NULL
{% if is_incremental() %}
AND _inserted_timestamp >= '{{ max_inserted_timestamp }}'
{% endif %}

View File

@ -26,6 +26,7 @@ WHERE
FROM
{{ this }}
)
AND data IS NOT NULL
{% else %}
{{ ref('bronze__FR_blocks') }}
{% endif %}

View File

@ -24,4 +24,4 @@ SELECT
[]
),
'Vault/prod/eclipse/mainnet'
) :data :result :: INT AS block_id
) :data :result :: INT - 50 AS block_id