z3z1ma / dbt-osmosis

Provides automated YAML management, a dbt server, streamlit workbench, and git-integrated dbt model output diff tools
https://z3z1ma.github.io/dbt-osmosis/
Apache License 2.0
422 stars 45 forks source link

Feature request - Add ability to "skip" adding all columns to models #61

Closed b-per closed 1 year ago

b-per commented 1 year ago

The default feature of adding all columns to models is great but it can generate a huge diff in the YML files.

I think it would be useful to provide an option where documented columns are "pushed down" to downstream models but where non-documented columns are not added. I see it as a potentially first step in getting better docs without being to overwhelming..

z3z1ma commented 1 year ago

This is added in latest release via a flag called --skip-add-columns Version 0.11.19 https://github.com/z3z1ma/dbt-osmosis/releases/tag/v0.11.19