Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.
This repository was archived by the owner on May 17, 2024. It is now read-only.

Profiles dir overwritten in the code for DBT version < 1.3.0 #645

@sebaap

Description

@sebaap

Describe the bug
The profiles dir is being overwritten in the code (this lines) after passed as an argument.
If I execute:
data_diff --dbt --dbt-profiles-dir my/custom/dir
Then I get
ERROR No profile 'my_dbt_profile' found in '/Users/myuser/.dbt/profiles.yml'

I'm guessing this is not the intended behaviour as I believe the argument should take precedence in this case.

Describe the environment

I'm using the master branch of this repo (v0.7.14) and DBT v1.2.6 but i guess any < 1.3.0 will have this issue

Metadata

Metadata

Assignees

Labels

--dbtIssues/features related to the dbt integrationbugSomething isn't workingstale_immuneImmunity to stale bot

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions