-
Notifications
You must be signed in to change notification settings - Fork 4
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
--no-partial-parse flag fails with this library enabled on branch #23
Comments
P.s. Running on synapse (hence the laggardly dbt version :( ) |
Update, the same failure occurs when the argument is disabled, but on the CI pipe, i.e. I assume that the project hasn't compiled before. |
Hey @alittlesliceoftom, sorry for the big delay in responding. Appreciate the kind words and I'm glad this package is useful! Someone else had the same error when using the dbt-unit-testing package; if you're using that package or custom tests, that's probably the cause. This was fixed in v0.6.2 but that version requires dbt v1.5 or later. If you're still having this problem, I recommend forking the repo and applying the above changes to |
Hi @LewisDavies , I can confirm that a local edit of the ref function with those lines fixes up the issue for me... |
Hi @LewisDavies,
Firstly huge thanks on your work pulling this package together, it's a great tool and helps us with workflows!
A small bug I noticed whilst trying to get this working inside a CI workflow:
dbt --no-partial-parse compile -t dev_ci
Fails, where:
dbt compile -t dev_ci
Works fine.
The error is like this:
This actually happens on basically all the models (try with a
dbt -d --no-partial-parse compile -t dev_ci
to see a full error set.In this case dev_ci is a target with upstream prod enabled.
Is this behaviour known? If so I could raise a small PR to the README to document it. Else, any ideas?!
The text was updated successfully, but these errors were encountered: