mirror of
https://github.com/FlipsideCrypto/eclipse-models.git
synced 2026-02-06 17:26:49 +00:00
filter out null responses; add buffer to realtime (#34)
This commit is contained in:
parent
24d47a8561
commit
afbe2e067b
@ -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 %}
|
||||
|
||||
@ -26,6 +26,7 @@ WHERE
|
||||
FROM
|
||||
{{ this }}
|
||||
)
|
||||
AND data IS NOT NULL
|
||||
{% else %}
|
||||
{{ ref('bronze__FR_blocks') }}
|
||||
{% endif %}
|
||||
|
||||
@ -24,4 +24,4 @@ SELECT
|
||||
[]
|
||||
),
|
||||
'Vault/prod/eclipse/mainnet'
|
||||
) :data :result :: INT AS block_id
|
||||
) :data :result :: INT - 50 AS block_id
|
||||
|
||||
Loading…
Reference in New Issue
Block a user