-
Notifications
You must be signed in to change notification settings - Fork 59
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
Modify RedshiftConnectionManager to extend from SQLConnectionManager, migrate from psycopg2 to redshift python connector #251
Merged
colin-rogers-dbt
merged 27 commits into
dbt-labs:main
from
sathiish-kumar:migrate_psycopg2_to_rshift_connector
Feb 15, 2023
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
ab4b269
Change RedshiftConnectionManager to extend from SQLConnectionManager,…
sathiish-kumar ff9fdfd
Add/fix unit tests, create RedshiftConnectMethodFactory to vend conne…
sathiish-kumar fbd5731
Fix _connection_keys to mimic PostgresConnectionManager
sathiish-kumar 4f98546
Remove unneeded functions for tmp_cluster_creds and env_var creds aut…
sathiish-kumar f724708
Merge branch 'main' into migrate_psycopg2_to_rshift_connector
sathiish-kumar 5319b90
Resolve some TODOs
sathiish-kumar 16666db
Fix references to old exceptions, add changelog
sathiish-kumar 30ae0b5
Fix errors with functional tests by overriding add_query & execute an…
sathiish-kumar de7c411
Merge branch 'dbt-labs:main' into migrate_psycopg2_to_rshift_connector
sathiish-kumar bfe8678
Attempt to fix integration tests by adding `valid_incremental_strateg…
sathiish-kumar c8a18d8
Fix unit tests
sathiish-kumar 40e0fe5
Attempt to fix integration tests
sathiish-kumar c74d3ee
Merge branch 'main' into migrate_psycopg2_to_rshift_connector
sathiish-kumar 66c1594
add unit tests for execute
jiezhen-chen 54bc39f
Merge branch 'main' into migrate_psycopg2_to_rshift_connector
sathiish-kumar 3ed9876
Merge branch 'main' into migrate_psycopg2_to_rshift_connector
sathiish-kumar 4bb97ab
Merge branch 'main' into migrate_psycopg2_to_rshift_connector
sathiish-kumar cfad7ff
add unit tests for add_query
jiezhen-chen b1c8e00
Merge branch 'main' into migrate_psycopg2_to_rshift_connector
colin-rogers-dbt 12eb89b
make get_connection_method work with serverless
jiezhen-chen 9a319ac
Merge branch 'main' into migrate_psycopg2_to_rshift_connector
colin-rogers-dbt d3113ca
add unit tests for serverless iam connections
jiezhen-chen f5743b4
Merge branch 'main' into migrate_psycopg2_to_rshift_connector
colin-rogers-dbt 880941c
add redshift connector version, remove sslmode, connection time out, …
jiezhen-chen 8527832
change redshift_connector version
jiezhen-chen 405a702
Merge branch 'main' into migrate_psycopg2_to_rshift_connector
colin-rogers-dbt 0a5899e
Merge branch 'main' into migrate_psycopg2_to_rshift_connector
colin-rogers-dbt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
kind: Under the Hood | ||
body: Replace psycopg2 connector with Redshift python connector when connecting to | ||
Redshift | ||
time: 2023-01-18T07:15:42.183304-08:00 | ||
custom: | ||
Author: sathiish-kumar | ||
Issue: "219" | ||
PR: "251" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
@colin-rogers-dbt to follow-up on the removal of
cursor.statusmessage
inget_response