Introduction

dbt-sugar is very much under active development. Development happens on bitpicky/dbt-sugar. We absolutely would welcome any help from feature requests, discussion in issues, help with database connector testing to actual code changes! 🤗. Join the community on our Discord.

What is dbt-sugar?

dbt-sugar is a command-line interface tool that allows users of dbt to perform tasks such as adding column and model documentation, enforce test coverage and tags (more to come) directly from the CLI across a variety of dbt projects. Check out the project roadmap if you want to know what is coming!

Here's the tool in action

Overview of Current Features

  • document a model's description

  • document columns of a model (and propagate description across fields that are identically named, we call this "homogenise" and it is the main reason behind why we built dbt-sugar,

  • add common dbt builtin tests such as unique or not_null,

  • add tags

  • get a model or project level summary of the number of columns that are documented and tested.

  • Do you have very few models documented? Want to quickly generate schema.yaml files for all of your models and have it pre-populated by placeholders or already documented columns that share names across your projects. Kick it off with the bootstrap task

What has recently changed?

We maintain and keep our CHANGELOG up to date on the GitHub repository. Head over there if you want to see all the changes since the last release.

Last updated