This commit is contained in:
Pablo Martin 2023-11-03 10:26:11 +01:00
parent 045ce1ec45
commit 3fce12819b
4 changed files with 35 additions and 2 deletions

View file

@ -9,7 +9,9 @@ WITH src_reviews AS (
FROM
{{ ref('src_reviews') }}
)
SELECT *
SELECT
{{ dbt_utils.surrogate_key(['listing_id', 'review_date', 'reviewer_name', 'review_text']) }} as review_id,
*
FROM
src_reviews
WHERE