diff --git a/dbt_subprojects/dex/models/trades/dex_base_trades.sql b/dbt_subprojects/dex/models/trades/dex_base_trades.sql index 5fdea02ad61..543839db61a 100644 --- a/dbt_subprojects/dex/models/trades/dex_base_trades.sql +++ b/dbt_subprojects/dex/models/trades/dex_base_trades.sql @@ -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 %}