-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[CT-3446] [Feature] support comment in Column class #9198
Comments
I initially think this is enough for an Issue, should we move on to a discussion? |
Thanks for opening this @yassun7010 ! GoalIt sounds like your goal is:
Potential solutionThere are multiple ways for how to accomplish this goal, and here are a handful of them:
Our guidanceAfter discussion with @graciegoheen and @jtcohen6, solving this isn't a priority for us at this time. We think there's enough capabilities in dbt-core for third-party tools like dbt-osmosis or others to accomplish this goal. Namely, the Catalog artifact contains column comment information that can be utilized by third-party tools. So we're choosing not to add a As a result, we're going to close this issue and the associated pull requests as "not planned". See below for details on using dbt-osmosis or programmatic invocations.
--catalog-file CLI argument |
Is this your first time submitting a feature request?
Describe the feature
I am in the process of migrating an existing project for my company to dbt, and am using dbt-osmosis to automatically generate souce settings in schema.yml.
However, the generated source column description is blank and does not reference the comments in the table definitions in my database.
After checking the source code, I found that this is due to the fact that the Column class does not hold comment information.
I think it would be useful to optionally add comment information to Column to make the transition to dbt easier.
I have investigated dbt-snowflake, dbt-postgres, and dbt-bigquery and believe that this addition will not break compatibility (those adapters do not use column comment information).
Please refer to the PR of the proposal I submitted to dbt-osmosis regarding what I would like to do.
I am willing to commit to this.
Please let me know if there are any misconceptions about dbt.
Describe alternatives you've considered
Manually update and maintain the sources of
schema.yml
.Who will this benefit?
People considering transitioning to dbt.
Especially for those who initially define data in sources and gradually migrate to models.
Are you interested in contributing this feature?
Yes
Anything else?
No response
The text was updated successfully, but these errors were encountered: