-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SA14: Add SQLAlchemy 1.4 compatibility for CrateCompiler
- Code reuse was aimed at, but for the SA <1.4 vs. SA >=1.4 split, two functions, `visit_update_14` and `_get_crud_params_14`, have been vendored separately to accompany `crate.client.sqlalchemy.compiler.CrateCompiler`. All adjustments have now been marked inline with `CrateDB amendment`. - The main query rewriting function for UPDATE statements, `rewrite_update`, needed adjustments to account for a different wrapping/nesting of in/out parameters. - The `cresultproxy` module was temporarily taken out of the equation because it raised some runtime error.
- Loading branch information
Showing
5 changed files
with
367 additions
and
3 deletions.
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
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.