-
Notifications
You must be signed in to change notification settings - Fork 80
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
Schema descriptions should be shown in the database tree like source descriptions #172
Comments
@MarkMacArdle Thanks for the write-up! To clarify, you want to define descriptions for your dbt-created schemas, is that right?
Where are you defining these today? I think there's a blocker for this issue, which requires a change in dbt. Today, dbt lacks a mechanism for defining At the same time, there's definitely interest in doing this from members of the community. There are some related issues from users who want to document schemas and persist those descriptions in BigQuery: dbt-labs/dbt-core#1714, https://github.com/fishtown-analytics/dbt/issues/2951 I think there are a few directions this could go:
|
Hi @jtcohen6. Currently we use dropbox papers (markdown files) to document things but are planning to switch to this docs website.
The schema descriptions I was thinking of using are those defined in the
To include longer descriptions I had planned to switch to the doc markdown files (haven't checked you can include those in a Reading the linked issues I see using these descriptions doesn't seem to have been considered before. Why is that? |
I don't believe the Today, That's ultimately the reason this isn't appearing on the docs site: it's not yet supported as a dbt feature. However, you said:
Are you referring to a custom process by which you're using dbt to update those datasets in BigQuery with those descriptions? |
Apologies I was mistaken! Nope we don't have a custom process, I must have just gotten confused and thought dataset descriptions were showing up in BigQuery, but I tried it there and they definitely aren't. |
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please remove the stale label or comment on the issue, or it will be closed in 7 days. |
Describe the feature
In the source tree in the left sidebar if you click on a source directory you see it's a page for its description and the tables within it:

However if you're looking in the database tree and click on a schema you don't get the same behaviour. Nothing happens so the previously selected thing is still present in the main view.

I have some long schema descriptions that I really want to be visible to other users, but currently you can only see if them for a source. So I think expansion of this view would be a great benefit.
Describe alternatives you've considered
You could make all your clean datasets a source and then users could look there. This would be restrictive on the modeller though and non-dbt users may only be familiar with database view of things and not know/want to look at the sources (thinking business users who only look at docs occasionally).
Additional context
Non database specific
Who will this benefit?
Are you interested in contributing this feature?
Yes! Have been looking through the code but am quite unfamiliar with web development so finding it hard. What I've understood so far is that what's in
src/app/sources
needs to get made for schemas too. Not sure how to do that.The text was updated successfully, but these errors were encountered: