0
0
dbtdata~10 mins

Installing packages with packages.yml in dbt - Interactive Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to specify the package name in packages.yml.

dbt
- package: [1]
Drag options to blanks, or click blank then click option'
Asources
Bdbt_utils
Cprofiles
Dmodels
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'models' or 'profiles' instead of a package name.
Forgetting to include the package name after '- package:'.
2fill in blank
medium

Complete the code to specify the version of the package in packages.yml.

dbt
  version: [1]
Drag options to blanks, or click blank then click option'
Alatest
B1.0
C"0.8.0"
Dstable
Attempts:
3 left
💡 Hint
Common Mistakes
Not using quotes around the version number.
Using non-version words like 'latest' or 'stable'.
3fill in blank
hard

Fix the error in the packages.yml snippet by completing the missing key.

dbt
- package: dbt_utils
  [1]: "0.8.0"
Drag options to blanks, or click blank then click option'
Asource
Bname
Cpath
Dversion
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'name' instead of 'version'.
Using 'source' or 'path' which are not valid keys here.
4fill in blank
hard

Fill both blanks to add a GitHub source and version in packages.yml.

dbt
- package: [1]
  [2]: "0.7.0"
Drag options to blanks, or click blank then click option'
Afishtownanalytics/dbt_utils
Bversion
Cdbt_utils
Dname
Attempts:
3 left
💡 Hint
Common Mistakes
Using just the package name instead of the GitHub path.
Using 'name' instead of 'version' for the version key.
5fill in blank
hard

Fill all three blanks to add two packages with versions in packages.yml.

dbt
- package: [1]
  [2]: "0.8.0"
- package: [3]
  version: "0.7.0"
Drag options to blanks, or click blank then click option'
Afishtownanalytics/dbt_utils
Bversion
Cdbt-expectations
Dname
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'name' instead of 'version'.
Using package names without the GitHub path for the first package.