mirror of
https://github.com/FlipsideCrypto/external-models.git
synced 2026-02-06 11:21:59 +00:00
fix/snapshot-nulls (#38)
This commit is contained in:
parent
1c43dba0ce
commit
4717bc9b8b
@ -125,6 +125,8 @@ SELECT
|
||||
vote_option,
|
||||
_inserted_timestamp
|
||||
FROM
|
||||
votes_merged qualify(ROW_NUMBER() over(PARTITION BY id
|
||||
votes_merged
|
||||
WHERE
|
||||
proposal_id IS NOT NULL qualify(ROW_NUMBER() over(PARTITION BY id
|
||||
ORDER BY
|
||||
_inserted_timestamp DESC)) = 1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user