Skip to content

Commit

Permalink
Merge pull request #22 from edmondop/docs-improvements
Browse files Browse the repository at this point in the history
Clarified debugging section of tutorial
  • Loading branch information
eliasdefaria authored Dec 13, 2024
2 parents 119e805 + 2747a02 commit 7402a8f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/tutorials/debugging.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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 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:
Expand Down Expand Up @@ -191,7 +192,9 @@ moms_flower_shop.staging.stg_installs_per_campaign.total_num_installs
</pre>
</div>

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`
</Step>
<Step title="Fix it!">
To materialize the fix, all we need to do is run the queries:
Expand Down

0 comments on commit 7402a8f

Please sign in to comment.