Skip to content
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 with VALUES optimization for Postgres. Various macro refactoring. #2571

Merged
merged 1 commit into from Aug 19, 2022

Conversation

deusaquilus
Copy link
Collaborator

@deusaquilus deusaquilus commented Aug 19, 2022

Fixes: UPDATE values issue (TODO find number)
Also fixes: #2563

Implement equivalent of INSERT-VALUES optimization #2565 for UPDATE queries. Only Postgres supported for now but potentially other DBs in future. Also enabling mixes lifts.

  • Additional config called IdiomContext which wraps TranspileConfig as well as other meta-info needed during idiom functions e.g. the ident of the batch query. Potentially other info in the future.
  • Action macro changes and ReifyStatement changes needed to accomodate additional use-cases for lifting.
  • The translateBatch verb still uses old Batch Mechanism TODO to update that to the new function.

@deusaquilus deusaquilus merged commit 3e62f51 into master Aug 19, 2022
@deusaquilus deusaquilus deleted the update-multi-value branch August 19, 2022 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for Mixed Lifting
1 participant