-
Notifications
You must be signed in to change notification settings - Fork 31
fix optimization for bulk updates #224
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
Conversation
mxm
commented
May 17, 2017
- don't optimize if parameters are not supplied yet
- check the key type before binding parameters
- don't optimize if parameters are not supplied yet - check the key type before binding parameters
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.
Could we also add a integration test for the bulk update?
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.
Changes.txt entry is missing
Thanks for the comments @mfussenegger. I've added an integration test and updated the CHANGES file. |
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.
Please check the travis failures
CHANGES.txt
Outdated
================= | ||
|
||
- Fix bulk updates which were broken due to query rewrites. | ||
- Fix typo to DB API in README |
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.
There's no need to mention the README fix - only end-user relevant changes should end up in the changes.txt
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.
Makes sense. Thanks.
Thanks for jumping in on this @mxm - I was just about to jump in and fix it myself :) Looks like the Travis Tests are failing simply due to the missing newline in Testing now to see if this resolves my issue - appears like it should. |
Thanks @jeffnappi. I fixed the missing newline. Let's wait for the tests to pass. |
One of my new tests is failing with SQLAlchemy 1.0.16 but passes with 1.1.4. Let's see. |
@mfussenegger Is this good to merge? |
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.
lgtm
- don't optimize if parameters are not supplied yet - check the key type before binding parameters - add test cases for bulk updates This closes #224