You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the DBT 1.8, I am getting a DBTRunTimeError when doing dbt clean (or with the flag --clean-project-files-only)
:
Runtime Error
dat will not clean the following directories outside the project: ['/Users/.../test_file.log']
This leads to stalling of the dbt clean command.
This works fine with --no-clean-project-files-only (Expected)
Thought 1: (Seems Better)
Have the dbt clean all the paths within the project and ONLY display the outside path that it cannot clean.
Adv of the new way:
the command doesn't fail
It still deletes the files within the project
We still retain --clean-project-files-only as the default flag
Thought 2: (Seems a quicker fix)
Make --no-clean-project-files-only as default for dbt clean
Adv:
dbt clean -clean-project-files-only only fails if we explicitly want to delete only project files when the clean-targets also contains the non-project files
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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 clean
command.This works fine with
--no-clean-project-files-only
(Expected)Thought 1: (Seems Better)
Have the
dbt clean
all the paths within the project and ONLY display the outside path that it cannot clean.Adv of the new way:
--clean-project-files-only
as the default flagThought 2: (Seems a quicker fix)
Make
--no-clean-project-files-only
as default fordbt clean
Adv:
dbt clean -clean-project-files-only
only 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