-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
num_retries doesn't work with env_var #110
Comments
The issue is on how you use the |
Already tried, it throws a syntax error. I also tried: |
The issue seems to be on your side, you are passing a string to a value that should be an integer. Try this If you look at this docs https://docs.getdbt.com/reference/dbt-jinja-functions/env_var it give you the int on how to cast string as int :) |
You are right :) |
Hi,
I'm using
env_var
in myprofile.yml
file, but when trying to set thenum_retires
attribute withenv_var
it fails with the following error:To set the env var I ran this:
export DBT_ATHENA_NUM_RETRIES=0
My profile.yml:
A few notes:
num_retries: 0
env_var
The text was updated successfully, but these errors were encountered: