Skip to content

Commit

Permalink
Fix Raydium incrementa;
Browse files Browse the repository at this point in the history
l
  • Loading branch information
Sunny77D committed Nov 22, 2024
1 parent 9cd6a77 commit daa670c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/staging/raydium/fact_raydium_trading_volumes.sql
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ and abs(
- ln(coalesce(nullif(swap_to_amount_usd, 0), 1)) / ln(10)
) < 1
{% if is_incremental() %}
AND block_timestamp::date >= (select dateadd('day', -3, max(block_timestamp)) from {{ this }})
AND block_timestamp::date >= (select dateadd('day', -3, max(date)) from {{ this }})
{% else %}
AND block_timestamp::date >= date('2022-04-22')
{% endif %}
Expand Down

0 comments on commit daa670c

Please sign in to comment.