dbt clean: Warning instead of DBTRunTimeError with outside path
#11178
aiwithwhitehat
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
With the DBT 1.8, I am getting a DBTRunTimeError when doing
dbt clean(or with the flag--clean-project-files-only)This leads to stalling of the
dbt cleancommand.This works fine with
--no-clean-project-files-only(Expected)Thought 1: (Seems Better)
Have the
dbt cleanall the paths within the project and ONLY display the outside path that it cannot clean.Adv of the new way:
--clean-project-files-onlyas the default flagThought 2: (Seems a quicker fix)
Make
--no-clean-project-files-onlyas default fordbt cleanAdv:
dbt clean -clean-project-files-onlyonly fails if we explicitly want to delete only project files when the clean-targets also contains the non-project filesBeta Was this translation helpful? Give feedback.
All reactions