mirror of
https://github.com/FlipsideCrypto/blast-models.git
synced 2026-02-06 13:11:52 +00:00
blitz-product-recency-update (#49)
* add product test buffer * switch filter to macro level
This commit is contained in:
parent
825d2673d9
commit
eb01b00f31
@ -34,6 +34,7 @@ invalid_product_ids as (
|
||||
select *
|
||||
from {{ ref('silver__blitz_dim_products') }}
|
||||
where product_id not in (select product_id from recent_records)
|
||||
AND block_timestamp < sysdate() - INTERVAL '2 days'
|
||||
{% if filter %}
|
||||
AND {{ filter }}
|
||||
{% endif %}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user