Skip to content
RED SAGSkills
medium10 pts · first answer countsdbtincremental-loads

Filtering new rows in dbt

In a dbt incremental model, what does the is_incremental() block do?

select * from {{ ref('stg_events') }}
{% if is_incremental() %}
  where event_ts > (select max(event_ts) from {{ this }})
{% endif %}
Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions