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: Fuzzy matching on column name for inheritance #66

Closed tobiascadee closed 10 months ago

tobiascadee commented 1 year ago

I think this was already mentioned in the docs but letting know that the feature is wanted as well. We use prefixes in our marts layer to show what group a column is a part of. We also use specific prefixes for dates and id columns. It would be great if there was an option to do fuzzy matching or maybe end of string matching for the column documentation inheritance!

awoehrl commented 1 year ago

Yes, fuzzy matching would be a great feature. We are renaming fields from camelCase to snake_case and it would be really helpful if dbt-osmosis could understand the connection.

z3z1ma commented 1 year ago

Open to PRs, its not difficult in theory. But I don't have time just yet. I know this would solve a major use case though given the typical dbt usage pattern

tobiascadee commented 1 year ago

@z3z1ma I will see if I can make some time to work on it!