select * from {{ref('really_big_table')}} {% if incremental and target.schema == 'prod' %} where timestamp >= (select max(timestamp) from {{this}}) {% else %} where timestamp >= dateadd(day, -3, current_date) {% endif %}