mirror of
https://github.com/FlipsideCrypto/flow-models.git
synced 2026-02-06 09:37:27 +00:00
up rn declaration (#472)
This commit is contained in:
parent
e22e62ff56
commit
e0a7d7c1d0
@ -23,13 +23,13 @@
|
||||
SELECT
|
||||
entry_id,
|
||||
ROW_NUMBER() over (
|
||||
PARTITION BY partition_key
|
||||
ORDER BY
|
||||
partition_key DESC,
|
||||
INDEX DESC
|
||||
) AS rn
|
||||
FROM
|
||||
{{ ref('silver_api__transaction_entries') }}
|
||||
WHERE _inserted_timestamp >= SYSDATE() - INTERVAL '7 days'
|
||||
WHERE _inserted_timestamp >= SYSDATE() - INTERVAL '10 days'
|
||||
)
|
||||
SELECT
|
||||
entry_id
|
||||
|
||||
Loading…
Reference in New Issue
Block a user