forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: implement limited first version of UPSERT
Specifically, add a batching tableWriter for the "short form" described in https://github.com/cockroachdb/cockroach/blob/master/docs/RFCS/upsert.md. For cockroachdb#1962. Notable followups: - Add support for the full ON CONFLICT DO UPDATE form. - Hook returningHelper up to the tableWriter abstraction. - Using fetchRows to compute fetch selectors in Insert/Upsert/Delete.
- Loading branch information
Showing
9 changed files
with
3,904 additions
and
3,605 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.