Commit 1a2a80cc authored by Eli Kastelein's avatar Eli Kastelein 🐋

Update sk_id for snowplow

parent c4ae4437
......@@ -5,7 +5,8 @@ WITH manage_snowplow_smau_events AS (
user_custom_id::INTEGER AS gitlab_user_id,
event_date,
event_type,
page_view_id AS sk_id,
{{ dbt_utils.surrogate_key('page_view_id', 'event_type') }}
AS sk_id,
'snowplow_frontend' AS source_type
FROM {{ ref('manage_snowplow_smau_events')}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment