diff --git a/models/events/snowplow_enriched_events.sql b/models/events/snowplow_enriched_events.sql index 51cc678..bc1e349 100644 --- a/models/events/snowplow_enriched_events.sql +++ b/models/events/snowplow_enriched_events.sql @@ -80,7 +80,7 @@ WITH events AS ( FROM {{ var('events_table') }} as e - LEFT JOIN {{ ref('id_map') }} AS u ON u.domain_userid = e.domain_userid + LEFT JOIN {{ ref('snowplow_id_map') }} AS u ON u.domain_userid = e.domain_userid WHERE e.domain_userid != '' -- do not aggregate missing values AND e.domain_userid IS NOT NULL -- do not aggregate NULL diff --git a/models/identification/id_map.sql b/models/identification/snowplow_id_map.sql similarity index 100% rename from models/identification/id_map.sql rename to models/identification/snowplow_id_map.sql diff --git a/models/transformed/page_views.sql b/models/transformed/snowplow_page_views.sql similarity index 100% rename from models/transformed/page_views.sql rename to models/transformed/snowplow_page_views.sql diff --git a/models/transformed/sessions.sql b/models/transformed/snowplow_sessions.sql similarity index 100% rename from models/transformed/sessions.sql rename to models/transformed/snowplow_sessions.sql diff --git a/models/transformed/visitors.sql b/models/transformed/snowplow_visitors.sql similarity index 100% rename from models/transformed/visitors.sql rename to models/transformed/snowplow_visitors.sql