-
Notifications
You must be signed in to change notification settings - Fork 960
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
update dbt-redshift docs for changes to sslmode, autocommit, connect_timeout #3456
Conversation
✅ Deploy Preview for docs-getdbt-com ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site settings. |
… added role parameter in profiles.yml
Co-authored-by: mirnawong1 <89008547+mirnawong1@users.noreply.github.com>
hey @jiezhen-chen , thanks for opening this up! I'll take a look at this for you tomorrow ✨ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hey @jiezhen-chen this looks great and merging this for you now!
closes #3360
What are you changing in this pull request and why?
This PR is to update the docs for the following changes in dbt-redshift:
Mapping sslmode in psycopg2 to ssl & sslmode in redshift_connector
In dbt-redshift 1.5, Python driver switched from psycopg2 to redshift_connector. redshift_connector has both ssl and sslmode parameters, while psycopg2 only has sslmode. We've made changes in dbt-redshift to convert psycopg2' accepted values of sslmode into ssl and sslmode parameters of redshift_connector. This PR explains the conversion logic and includes explanation of the sslmode flag.
Explain translation of
sslmode
tosslmode
+ssl
forredshift_connector
#3365Adding
autocommit
as a parameterAutocommit is a new flag that is defaulted to True. This PR adds explanation of this change and rationale behind this decision in dbt docs
Add autocommit feature #3401
Connect_timeout default to None
Connect_timeout had the default of 10 seconds previously. We changed this default to None.
Explain changes to connect_timeout default #3460
Checklist