Skip to content

Feature request for CTE expansion in lineage view #1597

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

Open
1 task done
kevineh opened this issue Mar 9, 2025 · 1 comment
Open
1 task done

Feature request for CTE expansion in lineage view #1597

kevineh opened this issue Mar 9, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@kevineh
Copy link

kevineh commented Mar 9, 2025

Describe the feature

Often in times when debugging large dbt models with many CTEs, we need to check results from certain CTEs to see if it produces expected results. It would be helpful if the lineage view the CTEs can be expanded into nodes and results from CTEs displayed along with the nodes.

Describe alternatives you've considered

What I currently do is to compile the model and change the select statement to the CTE that I want to check and run the query.

There's another tool, https://count.co/, out there does this gracefully as below. Since this comes as a part of the package and we can't switch to it just because of this one feature, we'd like to have it in dbt power usesr which we already use.

Image

Who will benefit?

All dbt users. Debugging large models have always been a challenge to all dbt users and this new feature can be very helpful.

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@kevineh kevineh added the enhancement New feature or request label Mar 9, 2025
@mdesmet
Copy link
Contributor

mdesmet commented Mar 10, 2025

Thanks for raising this. This seems very useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants