-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Bug] Error when referencing env_vars in on-run-* hooks after upgrade to v1.0.0 #4523
Closed
1 task done
Labels
bug
Something isn't working
Comments
Thanks for reporting this! Fix should be pretty quick. |
gshank
added a commit
that referenced
this issue
Dec 20, 2021
4 tasks
gshank
added a commit
that referenced
this issue
Dec 20, 2021
gshank
added a commit
that referenced
this issue
Dec 20, 2021
gshank
added a commit
that referenced
this issue
Dec 20, 2021
gshank
added a commit
that referenced
this issue
Dec 20, 2021
4 tasks
leahwicz
pushed a commit
that referenced
this issue
Dec 20, 2021
iknox-fa
pushed a commit
that referenced
this issue
Feb 8, 2022
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
Current Behavior
After upgrade to dbt 1.0.0 adding
on-run-*
hook events that reference environment variables throws an error; ie addingWill result with:
Expected Behavior
Earlier versions of dbt supported using environment variables in on-run-* hooks.
Steps To Reproduce
"{{ log(env_var('TERM_PROGRAM'), info=True) }}"
toon-run-start:
dbt compile
ordbt run
commandRelevant log output
Environment
What database are you using dbt with?
snowflake
Additional Context
Slack discussion on issue.
The text was updated successfully, but these errors were encountered: