-
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-424] Dbt list json output should include the final target name of the model #4955
Comments
Thanks for opening @whisperstream! I remember this being open as an issue some time ago: #2643 Since #2837, we do add the fully qualified dbt-core/core/dbt/compilation.py Lines 197 to 203 in 81118d9
dbt-core/core/dbt/compilation.py Line 380 in 81118d9
Why? Because we need to know the adapter's specific rules for creating relation names. Some adapters are In order to include this in the output of |
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. |
Although we are closing this issue as stale, it's not gone forever. Issues can be reopened if there is renewed community interest; add a comment to notify the maintainers. |
Is there an existing feature request for this?
Describe the Feature
I execute
dbt list -m my_model --output-json > some.json
, filesome.json
should ideally contain the fully qualified target name of the model. In my dbt project I make heavy use of of thegenerate..x..name()
set of schemas to alter the final target name based on the environment.I depend on the output from
dbt list
in my CICD processes and recently discovered that it doesn't capture this information in the output - which I feel it should.Describe alternatives you've considered
I'm working around it right now, by also having to read in the manifiest and parsing that.
Who will this benefit?
Everyone - having the final target (a critical value) as processed by macros would be valuable to a wide audience.
Are you interested in contributing this feature?
Not at this time
Anything else?
No response
The text was updated successfully, but these errors were encountered: