From f0272bb6dd6ae656a93fe6e424f75d79b7303672 Mon Sep 17 00:00:00 2001 From: kgpayne Date: Fri, 16 Apr 2021 15:54:27 +0100 Subject: [PATCH] missing comma and wrong ref (#23) (#25) Co-authored-by: kgpayne Co-authored-by: Konrad <77880496+kon-mal@users.noreply.github.com> --- models/fct_dbt__exposures_updates.sql | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/models/fct_dbt__exposures_updates.sql b/models/fct_dbt__exposures_updates.sql index cfc0b8f5..b4531f80 100644 --- a/models/fct_dbt__exposures_updates.sql +++ b/models/fct_dbt__exposures_updates.sql @@ -8,7 +8,8 @@ exposures_record as ( select * from {{ ref('dim_dbt__exposures') }} -) +), + model_updates as ( @@ -48,9 +49,9 @@ exposures_updates as ( e.package_name, e.output_feeds, latest_update as feed_latest_update - from exposures e + from exposures_latest e left join model_updates m - on m.node_id = e.output_feeds + on m.node_id = e.output_feeds )