I am trying to implement the scd1 in Data Build Tools using the Merge query. But I am not getting the exact way to write this query in Incremental model.
Can anyone show where we have to write the merge query.
{{
config(
materialized='incremental'
)
}}
<MERGE QUERY HERE>
{% if is_incremental() %}
where last_modified_date > '2020-07-11'
{% endif %}