mirror of
https://github.com/FlipsideCrypto/solana-models.git
synced 2026-02-06 13:26:46 +00:00
re-add to scheduler
This commit is contained in:
parent
c036ccc023
commit
58f9b127dd
@ -11,6 +11,7 @@
|
||||
'{{this.identifier}}',
|
||||
'ON EQUALITY(tx_id, swapper, from_mint, to_mint)'
|
||||
),
|
||||
tags = ['scheduled_non_core'],
|
||||
) }}
|
||||
|
||||
{% if execute %}
|
||||
@ -32,12 +33,6 @@
|
||||
FROM
|
||||
{{ this }}
|
||||
)
|
||||
AND _inserted_timestamp < (
|
||||
SELECT
|
||||
MAX(_inserted_timestamp) + INTERVAL '1 day'
|
||||
FROM
|
||||
{{ this }}
|
||||
)
|
||||
{% else %}
|
||||
AND _inserted_timestamp::date >= '2024-06-12'
|
||||
AND _inserted_timestamp::date < '2024-06-14'
|
||||
@ -90,10 +85,11 @@
|
||||
program_id = 'JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4'
|
||||
AND event_type = 'SwapEvent'
|
||||
AND succeeded
|
||||
{% if is_incremental() %} /* need to always keep the upper bound (if there is one) to prevent time gaps in incremental loading */
|
||||
/* need to always keep the upper bound (if there is one) to prevent time gaps in incremental loading */
|
||||
{% if is_incremental() %}
|
||||
AND _inserted_timestamp < (
|
||||
SELECT
|
||||
MAX(_inserted_timestamp) + INTERVAL '1 day'
|
||||
MAX(_inserted_timestamp) + INTERVAL '100 day'
|
||||
FROM
|
||||
{{ this }}
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user