mirror of
https://github.com/FlipsideCrypto/eclipse-models.git
synced 2026-02-06 15:47:11 +00:00
add partition_key filter
This commit is contained in:
parent
0dd027391c
commit
28659259c0
@ -26,6 +26,15 @@ WHERE
|
||||
FROM
|
||||
{{ this }}
|
||||
)
|
||||
AND partition_key > (
|
||||
SELECT
|
||||
COALESCE(
|
||||
MAX(partition_key),
|
||||
0
|
||||
)
|
||||
FROM
|
||||
{{ this }}
|
||||
)
|
||||
{% else %}
|
||||
{{ ref('bronze__FR_transactions') }}
|
||||
{% endif %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user