dbt-coves
dbt-coves copied to clipboard
Automatically generate documentation based on upstream documented columns
Is your feature request related to a problem? Please describe.
dbt-coves seems to do a lot to help users adopt analytics engineering best practices.
One of the best practices is documentation.
A problem I (and a lot of people) have is that you have to repeat the column descriptions in every downstream model.
This results in either a bunch of time copying and pasting or downstream models not having proper descriptions.
Describe the solution you'd like What I would like to do is just do column descriptions once at the base model and then have that propagate through the DAG to all downstream models.
Describe alternatives you've considered Use PyYAML to make my own solution (more of a learning project since this is not my speciality)
dbt-osmosis has a way to "Automatically generate documentation based on upstream documented columns"
dbt-osmosis yaml document --project-dir ... --profiles-dir ...
Absolutely love this idea. It'd be a very useful feature, given that your alternative is to write non-DRY code and try to maintain the same documentation in n places.