This commit is contained in:
Pablo Martin 2023-11-02 17:05:44 +01:00
parent 7480222cc7
commit 1e53b3895c
2 changed files with 44 additions and 1 deletions

View file

@ -0,0 +1,17 @@
{% snapshot scd_raw_listings %}
{{
config(
target_schema = 'dev',
unique_key = 'id',
strategy = 'timestamp',
updated_at = 'updated_at',
invalidate_hard_deletes = True
)
}}
SELECT *
FROM
{{ source('airbnb', 'listings')}}
{% endsnapshot %}