Capture and analyze historical data changes with snapshots.
{{
config(
target_database='analytics',
target_schema='snapshots',
unique_key='customer_id',
strategy='check',
check_cols=['column1', 'name', 'birthdate'],
)
}}
select * from {{ source('jaffle_shop', 'orders') }}