Overview of Packages
Learn about dbt packages and what they’re used for.
What are packages?
Packages are collections of dbt logic that can be reused for efficient project development. They’re used to share reusable SQL code, macros, tests, and models.
Instead of copy-pasting code snippets, we can import packages into our project. This feature helps analytics engineers follow the DRY engineering principle. In addition, they make projects smaller, more specific, and ultimately more maintainable. Instead of having all of the logic in one project, logic is divided into several packages, making the end project much more readable and straightforward.
Get hands-on with 1400+ tech skills courses.