Using dbt compile to debug
You have a hunch that in the process of copy pasting SQL logic over into dbt models, you might have forgotten to update the hard-coded dbt models with the correct reference. This is causing stale data downstream. The fastest way to figure this out is via dbt compile.
This exercise is part of the course
Case Study: Building E-Commerce Data Models with dbt
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise