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

Populate RDBMS Object Comment schema.yml Description #1170

Closed
norton120 opened this issue Dec 4, 2018 · 3 comments
Closed

Populate RDBMS Object Comment schema.yml Description #1170

norton120 opened this issue Dec 4, 2018 · 3 comments

Comments

@norton120
Copy link

Feature description

The description key in schema.yml files is currently used to populate DBT docs. This feature would be to materialize the description values in the RDBMS as object comments (the "comment" value in information_schema.columns for columns, information_schema.tables for tables etc).

Who will this benefit?

Persisting this information into the RDBMS will make it possible to query this additional table meta - so BI tools can easily build consumer-facing rich data catalogs.

@norton120
Copy link
Author

Bonus points: I typically build out JSON formatted strings in the db comments with keys like "comment", "grain" (for tables), "repo version added" - it could be interesting to do the same thing here, maybe populate a JSON object string with "description" and "schema tests" - so BI users can easily review the tests applied to the data set.

@drewbanin
Copy link
Contributor

See also: #1031

@drewbanin
Copy link
Contributor

Closing in favor of #1031

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

No branches or pull requests

2 participants