-
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-2626] [Regression] dbt snapshot does not fetch the target path from environment variables #7760
Comments
Thanks for reaching out @ADraginda ! I tried out each of the configuration options here, and I observed something similar as you reported, but slightly different. For the third option ( But in all three cases, it appeared to create and use the target directory correctly (despite the export DBT_TARGET_PATH=target_environment_variable
echo $DBT_TARGET_PATH
dbt --debug run -s my_model Output:
Is it not writing to the target directory specified in Even when |
Apologies - I have updated my ticket with the actual command I sent: It should have been |
Ah, I see @ADraginda. It looks like #7419 was accidentally not yet included in 1.5.0 or 1.5.1, so we'll need to backport it within an upcoming release. Once we backport and release it, I believe it will resolve the issue you are reporting. |
Wonderful, thanks so much @dbeatty10 ! |
The backport PR in #7826 will resolve this issue. But since it targets the So I'm going to preemptively close this to avoid accidentally forgetting to do so later. |
Is this a new bug in dbt-core?
Current Behavior
dbt 1.5.1
'DBT_TARGET_PATH': '/tmp/198e1313-1c7f-44d7-92a5-9556f5d203bd'
dbt --debug snapshot --model <model_name> --target production
we see:Expected Behavior
I would expect the target_path set in the environment variable respected (Note that LOG_FILE_PATH is respected from the environment variables)
Steps To Reproduce
Relevant log output
No response
Environment
Which database adapter are you using with dbt?
snowflake
Additional Context
No response
The text was updated successfully, but these errors were encountered: