-
Notifications
You must be signed in to change notification settings - Fork 21
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
feat: Support SQLAlchemy 2.0 #185
Conversation
@andyoneal tests looks to be failing here, can we move this to Draft until it's ready? |
#Conflicts: # poetry.lock # target_postgres/sinks.py
@visch sorry for not noticing the errors. I think this is a bug in the sdk. I've opened a PR there, but implemented the fix here for now. meltano/sdk#1954 |
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.
This LGTM!
just a note for later: the "fix create_schema" commit can be reverted once this moves to SDK 0.23 |
@andyoneal I just merged #199 |
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.
The tap side of the code LGTM, but I'm not as familiar with what the tests are originally doing.
Thanks for the additional context on test file changes @andyoneal! If Derek doesn't have any objections, I'm happy to merge and make a |
Generally it looks good I just haven't made the time to dive into the specifics of connection.begin and how / where we are doing those transactions |
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.
Great PR!
Most of the changes had to do with SQLAlchemy no longer defaulting to auto-commit. You have to either use a begin context or explicitly commit. Also a handful of changes on when an engine/connection is bound to metadata/reflect.