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

[CT-2966] [Bug] DbtInternalError after model that previously ref'd external model is deleted #8375

Closed
MichelleArk opened this issue Aug 12, 2023 · 0 comments · Fixed by #8330
Assignees

Comments

@MichelleArk
Copy link
Contributor

Root cause is a missing call to manifest.build_parent_and_child_maps before manifest.inject_external_nodes, somewhere around here: https://github.com/dbt-labs/dbt-core/blob/main/core/dbt/parser/manifest.py#L506.

@MichelleArk MichelleArk self-assigned this Aug 12, 2023
@github-actions github-actions bot changed the title DbtInternalError after model that previously ref'd external model is deleted [CT-2966] DbtInternalError after model that previously ref'd external model is deleted Aug 12, 2023
@MichelleArk MichelleArk changed the title [CT-2966] DbtInternalError after model that previously ref'd external model is deleted [CT-2966] [Bug] DbtInternalError after model that previously ref'd external model is deleted Aug 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant