[CT-3472] [Regression] There is no way to change the target path for dbt ls
command after the parameter was deprecated.
#9245
Labels
dbt ls
command after the parameter was deprecated.
#9245
Is this a regression in a recent version of dbt-core?
Current Behavior
The
target-path
parameter was deprecated, but unfortunately, other alternatives do not function with thedbt ls
command:DBT_TARGET_PATH
is disregarded when using this command.--target-path
is not valid for this command.Expected/Previous Behavior
Previously, the command used to derive the target path from the dbt_project.yaml file, allowing for path configuration.
Expected behavior should align with other commands, which retrieve the target path from either the environment variable
DBT_TARGET_PATH
and/or the command-line parameter--target-path
.Steps To Reproduce
dbt_profile.yaml
does not contain the target-path parameter.dbt ls
and observe that thetarget
is created in the project directory as expected.DBT_TARGET_PATH
to a directory different from the project directory; rundbt ls
and observe that thetarget
directory is still created in the project directory.dbt ls --target-path <path>
, you will encounter an error indicating that the parameter is invalid.Relevant log output
No response
Environment
Which database adapter are you using with dbt?
bigquery
Additional Context
No response
The text was updated successfully, but these errors were encountered: