mirror of
https://github.com/FlipsideCrypto/berachain-models.git
synced 2026-02-06 13:57:17 +00:00
use coalesce
This commit is contained in:
parent
4f280df0a5
commit
c1bcb1e05c
@ -19,7 +19,7 @@ FROM
|
||||
WHERE
|
||||
TO_TIMESTAMP_NTZ(_inserted_timestamp) >= (
|
||||
SELECT
|
||||
MAX(_inserted_timestamp)
|
||||
COALESCE(MAX(_inserted_timestamp), '1970-01-01' :: TIMESTAMP) _inserted_timestamp
|
||||
FROM
|
||||
{{ this }}
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user