Skip to content
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

[Core] Explain how using the graph does (or doesn't!) affect the visualization of the DAG #6027

Open
dbeatty10 opened this issue Sep 6, 2024 · 0 comments
Labels
content Improvements or additions to content dbt Core The changes proposed in this issue relate to dbt Core size: large This change will more than a week to address and might require more than one person

Comments

@dbeatty10
Copy link
Contributor

Link to the page(s) on docs.getdbt.com requiring updates

Maybe one or both of:

Tell us more about this update

The big idea is that there's a scenario in which a node can be missing in the visualization of the DAG in dbt Explorer but actually work as intended when building a dbt model. But it's actually not a bug! 🤯

i.e., the compiled query reflects all the intended references but the generated docs is missing some or all.

One of the ways this can happen is when using the graph in the transformation code for a model (like here).

In that scenario, users can compile and run models that use ref and source macros but without those references being reflected in the visualization of the DAG in dbt Explorer or the generated documentation website.

This can be surprising, so we want to explain it the best we can.


A suggested improvement would be to show or discuss an example similar to dbt-labs/dbt-core#10665, either within the graph or execute documentation pages.

And/or add a section that could illustrate all the caveats of graph (by comparing when execute==False and execute==True).

Reviewers/Stakeholders/SMEs

Dougie Fresh 😎

Related GitHub issues

dbt-labs/dbt-core#10665

Additional information

No response

@dbeatty10 dbeatty10 added content Improvements or additions to content dbt Core The changes proposed in this issue relate to dbt Core labels Sep 6, 2024
@nataliefiann nataliefiann added the size: large This change will more than a week to address and might require more than one person label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Improvements or additions to content dbt Core The changes proposed in this issue relate to dbt Core size: large This change will more than a week to address and might require more than one person
Projects
None yet
Development

No branches or pull requests

2 participants