Bird
0
0

You added a package to packages.yml but forgot to run dbt deps. What will happen when you run dbt run?

medium📝 Debug Q14 of 15
dbt - Packages and Reusability
You added a package to packages.yml but forgot to run dbt deps. What will happen when you run dbt run?
Adbt will run successfully using the package code.
Bdbt will show an error about missing package dependencies.
Cdbt will ignore the package and run only local models.
Ddbt will automatically run dbt deps before running.
Step-by-Step Solution
Solution:
  1. Step 1: Understand the role of dbt deps

    dbt deps downloads packages listed in packages.yml. Without running it, packages are not available locally.
  2. Step 2: Predict behavior when running dbt run without deps

    Running dbt run without installed packages causes errors because dbt cannot find the package code.
  3. Final Answer:

    dbt will show an error about missing package dependencies. -> Option B
  4. Quick Check:

    Missing deps cause error [OK]
Quick Trick: Always run dbt deps after changing packages.yml [OK]
Common Mistakes:
MISTAKES
  • Assuming dbt auto-runs deps
  • Thinking dbt ignores missing packages
  • Believing dbt run succeeds without deps

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More dbt Quizzes