Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: load column description from db. #120

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

yassun7010
Copy link
Contributor

@yassun7010 yassun7010 commented Dec 2, 2023

dbt does not officially support column comments in Column class.
Therefore, the column description in sources of schema.yml generated from database information is always empty.

However, if a database adapter supports column comments, we will give you the ability to add column comments.
I will work to get dbt-core to support this feature.

It would be great if dbt-osmosis would automatically fetch comments from the database when we add a source name to schema.yml.

What do you think about this?

@yassun7010
Copy link
Contributor Author

Refer dbt-labs/dbt-core/issues/9198

@z3z1ma
Copy link
Owner

z3z1ma commented Dec 7, 2023

LGTM, nice feature!

@z3z1ma z3z1ma merged commit ede5a68 into z3z1ma:main Dec 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants