-
Notifications
You must be signed in to change notification settings - Fork 75
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-2600] Add aditional row(s) of metadata to models/sources #424
Comments
Thanks for reaching out @jochemvandooren ! Our intent is that meta should be the place to add anything (and everything!) you want without the need to create and define any additional meta. It sounds like the primary issue you are experiencing is the content that is rendered on the docs webpage getting too wide once you have a certain number of meta properties. So the solution would be to update how it displays in those cases. We won't be able to prioritize that ourselves, we'd review a pull request that updates the display of meta to accommodate a larger number of properties (as long as all meta properties are treated equally and none have any special meaning). Accordingly, I'm labeling this as "help wanted". |
Hi @dbeatty10! Thanks for your response. I think I didn't describe the feature clear enough. It is true that the content that is rendered on the docs webpage is getting too wide, although that's not the problem I am trying to solve here. What I envision is that we are able to decide what properties are grouped in a row. We would like to keep This doesn't necessarily have to be an additional property. This could also be a sub-property of
Then what would need to happen is the following:
I hope it is clearer now what I would like to achieve, thanks in advance! |
Thanks for clarifying @jochemvandooren! We are not willing to either add a new Now that I understand your proposal better, I'm going to close this as "not planned" since it doesn't fit with our approach to However, we would be willing to do the following alternative:
If you decide that you are interested in the alternative above, then we can either open a new feature request for it, or we can re-open this one. |
Hi @dbeatty10, If I understand correctly, your main concern is to avoid enforcing any structure in
I think The implementation is simple, and we're happy to submit a PR and focus on backwards-compatibility and documentation. Please let me know if I failed to understand your concerns - I'd love to discuss and I'm sure we can find a favorable outcome. |
Yes, that is correct 🎯
@matthieucan Can you help me understand how the proposal is not adding any semantics or special meaning to |
You're right! I think the confusion arose from the difference between structure and content. The content of the key/values within that proposed list does not hold any meaning, but indeed the structure does (as in, a list of lists). I believe that with an appropriate key (e.g. Let me know what you think! |
Inline responses
This is the crucial part -- our intent is that neither the values nor the structure have any meaning to dbt. That way, external systems have full flexibility to supply their own meaning without any additional rules or caveats.
In this proposal, That being said, our decision is not being primarily driven by backwards compatibility concerns -- it is more about maintaining a free-form structure within SummaryI appreciate the changes you made in your fork -- your efforts in pushing the boundaries are truly commendable! 🤩 While I recognize its value and the innovative thinking behind it, I want to affirm our decision not to adopt it. The overarching reason for this:
|
Hi @dbeatty10, |
Describe the feature
Enrich
dbt-docs
by giving the user flexibility of adding additional rows of metadata. The content of the meta is displayed in the catalog, which is very useful. We would like to expand this even further, and be able to add anything we want. For example test results, usage statistics or just more metadata.See the proposed solution in the image:
The corresponding model would look something like this:
By providing something like this, users of
dbt-docs
are able to add anything they would like to models and sources!Describe alternatives you've considered
There is no good alternative solution. We have tried expanding
meta
with more key:val pairs, but no new rows are created when doing this. Therefore the content ofmeta
gets too wide.Additional context
The information shown comes from
manifest.json
. Currently when adding another property next tometa
, e.g.additional_meta
as shown in the example, the new property is not included inmanifest.json
. Therefore this might also require a change todbt-core
.Another solution would be to include
additional_meta
insidemeta
. This way, it can be solved without an additional change indbt-core
.Who will this benefit?
Any users that want to show more information in the data catalog.
Are you interested in contributing this feature?
Definitely, and we already have an idea on how to implement it if we go for the additional solution to nest
additional_meta
inmeta
.The text was updated successfully, but these errors were encountered: