dbt - Incremental Models
Consider this dbt model snippet:
What data will be inserted during an incremental run?
{% if is_incremental() %}
SELECT * FROM source_table WHERE created_at > (SELECT MAX(created_at) FROM {{ this }})
{% else %}
SELECT * FROM source_table
{% endif %}What data will be inserted during an incremental run?
