From 10334bc5c7eb559a7771889904860a5b906a761e Mon Sep 17 00:00:00 2001 From: Edmondo Porcu Date: Wed, 4 Dec 2024 11:10:47 -0800 Subject: [PATCH 1/2] Clarified debugging section of tutorial --- docs/tutorials/debugging.mdx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/tutorials/debugging.mdx b/docs/tutorials/debugging.mdx index 21e4f90..063f546 100644 --- a/docs/tutorials/debugging.mdx +++ b/docs/tutorials/debugging.mdx @@ -80,7 +80,8 @@ moms_flower_shop.analytics.dim_marketing_campaigns.total_num_installs GROUP BY 1 ``` - There is not much going on here. We need to keep moving up. + There is not much going on here. We need to keep moving up (note that + the lineage commands display upstream dependencies below the current model). In the upstream model `app_installs` defined in `models/staging/app_installs.sql`, let's zoom in on the `FROM` statement: @@ -191,7 +192,9 @@ moms_flower_shop.staging.stg_installs_per_campaign.total_num_installs - Only our new model will be impacted. + Only our new model will be impacted: + - the `campaign_id` columns has no forward dependencies + - the `total_num_installs` column is used only by `dim_marketing_campaigns` To materialize the fix, all we need to do is run the queries: From 2747a0209c5d774779a32c06d49f71c480c632b1 Mon Sep 17 00:00:00 2001 From: Edmondo Porcu Date: Thu, 5 Dec 2024 14:11:11 -0800 Subject: [PATCH 2/2] Update debugging.mdx --- docs/tutorials/debugging.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/debugging.mdx b/docs/tutorials/debugging.mdx index 063f546..1cc2030 100644 --- a/docs/tutorials/debugging.mdx +++ b/docs/tutorials/debugging.mdx @@ -81,7 +81,7 @@ moms_flower_shop.analytics.dim_marketing_campaigns.total_num_installs ``` There is not much going on here. We need to keep moving up (note that - the lineage commands display upstream dependencies below the current model). + the lineage command displays upstream dependencies below the current model). In the upstream model `app_installs` defined in `models/staging/app_installs.sql`, let's zoom in on the `FROM` statement: