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 46 forks source link

Add an option to skip adding `data_type` in `yaml refactor` #121

Closed yu-iskw closed 3 months ago

yu-iskw commented 6 months ago

Motivation

dbt-osmosis yaml refactor enables us to skip adding tags and merging meta. Sometimes, I want to skip adding properties of data_type to columns, since added data type(s) are wrong.

  --skip-add-columns        If specified, we will skip adding columns to the models. This is useful if you want to document your models
                            without adding columns present in the database.
  --skip-add-tags           If specified, we will skip adding tags to the models.
  --skip-merge-meta         If specified, we will skip merging meta to the models.
z3z1ma commented 3 months ago

Done in v0.12.8

yu-iskw commented 2 months ago

@z3z1ma Thank you for addressing the feature!