-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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-1902] [Feature] Add relation_name
to the node_info
dictionary
#6724
Comments
relation_name
to the node_info
dictionaryrelation_name
to the node_info
dictionary
@isaac-taylor says he'd like this :) and the components, too ( |
For refinement:
e.g., would we want to write out I'm guessing a consumer of this info will want to compare |
@dbeatty10 Sorry, I missed your comment before resolving this in #7304! The approach we're taking right now:
We could add |
No worries! Agreed that this strikes a nice balance:
|
Is this your first time submitting a feature request?
Describe the feature
As described by @jtcohen6 here this feature would:
relation_name
(database.schema.identifier
) to thenode_info
dictionary, which is present on all node-related logging events, and offers a convenience for looking up the most salient information. (The rest can be looked up in the manifest, using the node'sunique_id
.)This would provide a mapping from
relation_name
→ nodeunique_id
(or vice versa). Other properties can be looked up via the node'sunique_id
withinmanifest.json
.Describe alternatives you've considered
I'm not aware of any reasonable alternatives to determine the final
database.schema.identifier
for a model that has been built.For those who love a good unstructured text parsing challenge, I suppose they could try to extract this from
logs/dbt.log
somehow.Who will this benefit?
There is at least one issue where a user wants to monitor logs for successful model execution and trigger another process downstream:
Are you interested in contributing this feature?
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: