dbt Packages

dbt Packages #

Really, a bundled dbt package with custom code that can be shared and reu-used.

Adding packages #

To utilize packages, add a packages.yml to dbt project, alongside the dbt_project.yml.

Within packages.yml, specify what packages ot add.

packages:
    - package: <account name>/<package name>
      version: <version number>

Then install the packages with dbt deps.

Path #

Once dbt packages are installed, then land at <dbt project>/dbt_modules.

Each package is its own subdirectory. Those subdirectories will contain the the package’s unique queries and macros.

dbt Hub #

dbt hub Where packages get stored and shared (think DockerHub or Github).