mirror of
https://github.com/FlipsideCrypto/sei-models.git
synced 2026-02-06 15:56:44 +00:00
prunning on pallet
This commit is contained in:
parent
62b8716662
commit
e52130c90d
@ -33,11 +33,14 @@ WITH msg_atts_base AS (
|
||||
)
|
||||
|
||||
{% if is_incremental() %}
|
||||
AND _inserted_timestamp >= (
|
||||
SELECT
|
||||
MAX(_inserted_timestamp)
|
||||
FROM
|
||||
{{ this }}
|
||||
AND _inserted_timestamp >= GREATEST(
|
||||
(
|
||||
SELECT
|
||||
MAX(_inserted_timestamp)
|
||||
FROM
|
||||
{{ this }}
|
||||
),
|
||||
SYSDATE() :: DATE -3
|
||||
)
|
||||
{% endif %}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user