-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[CT-3034] [Bug] relative path in DBT_PROFILES_DIR fails #8501
Comments
Note: Found an issue with my description and adjusted the issue accordingly. Relative paths seem to not working anymore since 1.6.1. Before I used dbt version 1.4.6 where this worked out fine. |
@leo-schick It looks like you're running dbt inside a Databricks notebook/workflow(?). I don't see this error while running dbt-core locally, including more recent versions. I'm wondering if this error is specific to running against DBFS? We've seen some other issues recently that fall into this category:
|
@jtcohen6 Yes this is running inside a Databricks Notebook |
I tried and wasn't able to reproduce this. |
We're going to close this issue, and document it (along with other issues labeled |
@jtcohen6 it's not related to Databricks -
The path of course exists. Tested with EDIT: I have just tested environment variables - |
Is this a new bug in dbt-core?
Current Behavior
I set globally the environment variable
DBT_PROFILES_DIR
to~/.dbt
which breaks the execution:But it works when I set the absolute path e.g.
DBT_PROFILES_DIR=/root/.dbt
.Expected Behavior
I would expect that dbt resolves the relative path in environment variable
DBT_PROFILES_DIR
.Steps To Reproduce
export DBT_PROFILES_DIR=~/.dbt
dbt run
Relevant log output
No response
Environment
Which database adapter are you using with dbt?
other (mention it in "Additional Context")
Additional Context
The text was updated successfully, but these errors were encountered: