Skip to content

Commit

Permalink
Update dbt_subprojects/dex/models/trades/dex_base_trades.sql
Browse files Browse the repository at this point in the history
Co-authored-by: jeff-dude <[email protected]>
  • Loading branch information
agaperste and jeff-dude authored Jan 9, 2025
1 parent ef4f53c commit e8b235f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dbt_subprojects/dex/models/trades/dex_base_trades.sql
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ with base_union as (
token_sold_amount_raw >= 0 and token_bought_amount_raw >= 0
{% if is_incremental() %}
AND {{ incremental_predicate('block_time') }}
{% else %}
AND block_date >= now() - interval '7' day -- TODO remove after testing
{% endif %}
{% if not loop.last %}
Expand Down

0 comments on commit e8b235f

Please sign in to comment.