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

I think the deployed package includes the test models #125

Closed
alanmcruickshank opened this issue Jun 17, 2022 · 1 comment
Closed

I think the deployed package includes the test models #125

alanmcruickshank opened this issue Jun 17, 2022 · 1 comment

Comments

@alanmcruickshank
Copy link
Contributor

I was linting a project which uses this package, and got a curious error:

RuntimeError: File C:\Users\...\data_warehouse\dbt_packages\dbt_artifacts\integration_test_project\models\incremental.sql was not found in dbt project

Now this is evidently a sqlfluff problem, but it's failing to find a file, which is a test file within dbt artifacts. I don't think this file should even be present or rendering within the host project.

Sure enough when I check the dbt_packages folder I see the test project included in the installed package, which I suspect is why dbt is trying to compile it along with the rest of the project.

Is there something in the dbt package config which we should update so that the test project isn't included in the eventual parse DAG of a host project?

@alanmcruickshank
Copy link
Contributor Author

Ignore me - this isn't an issue with dbt_artifacts this is an issue with me...

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

No branches or pull requests

1 participant