-
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-64] Model meta
missing from top-level node meta
in manifest
#4459
Comments
@troyel Thanks for opening! I think this is actually a bug in If I check in "model.my_project.my_model": {
"config": {
"enabled": true,
"alias": null,
"schema": null,
"database": null,
"tags": [],
"meta": {
"my_key": "my_value"
},
},
"meta": {},
} @gshank Do you have a sense of where that mirroring ought to be happening? I do think it's reasonable for downstream metadata consumers (including the I'm going to transfer this one to |
meta
missing from top-level node meta
in manifest
related to the same problem, consumers of the |
The 'meta' dictionary is copied to the top-level node in core/dbt/parser/base.py, update_parsed_node_config. I would have thought that would be called for config in a model. Clearly there's some hole here. |
@jtcohen6 continuing this from dbt-labs/dbt-docs#230 - is there some sense in not having to duplicate the meta config to the top level meta for this? Just thinking out loud since typically |
meta
missing from top-level node meta
in manifestmeta
missing from top-level node meta
in manifest
+1 in dbt Core version 1.0.1 in dbt Cloud User wants to add 'owner' and 'group' meta fields at the model level, but they are not visible in the 'details' section of the docs site. Let me know if there's any additional context I can provide! |
Describe the bug
A clear and concise description of what the bug is. What command did you run? What happened?
Steps To Reproduce
Add any meta tags to a model. e.g.
Or similarly specified using .yml schemas.
Expected behavior
Expect this to show up like it does in "Exposures" as a table detail formatted key-value list (also like tags does)
How it looks in a model:
How it is expected to look (like it does implemented the same in an exposure):
Screenshots and log output
The output of
dbt --version
:The text was updated successfully, but these errors were encountered: