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

feat(sqlalchemy): Optimized upsert_many operation #2254

Closed
wants to merge 5 commits into from

Conversation

cofin
Copy link
Member

@cofin cofin commented Aug 28, 2023

Pull Request Checklist

  • New code has 100% test coverage
  • (If applicable) The prose documentation has been updated to reflect the changes introduced by this PR
  • (If applicable) The reference documentation has been updated to reflect the changes introduced by this PR

Description

  • Implements a true MERGE statement for databases that support it (Oracle & Postgres 15).
  • Implements an INSERT .. ON CONFLICT for SQLite, DuckDB, Postgres < 15, MySQL
  • Maintains current behavior for Spanner (Need to verify if there is an "ON CONFLICT")

Close Issue(s)

@cofin cofin requested review from a team as code owners August 28, 2023 22:54
@cofin cofin marked this pull request as draft August 28, 2023 22:55
@cofin cofin changed the title feat: Importing poc merge feat(sqlalchemy): Optimized upsert_many operation Aug 28, 2023
@cofin cofin closed this Sep 8, 2023
@cofin cofin deleted the upsert-many-merge branch September 8, 2023 21:03
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.

Enhancement: Optimize upsert_many for each supported engine
1 participant