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

fix batched insert ... on duplicate update ... #1649

Merged
merged 9 commits into from
Mar 14, 2023
Merged

fix batched insert ... on duplicate update ... #1649

merged 9 commits into from
Mar 14, 2023

Conversation

jycor
Copy link
Contributor

@jycor jycor commented Mar 9, 2023

We create new table edit accumulators for inserter and updater fields for the insert node, which messes up batched inserts as certain edits are not visible between the two. The fix is two do what dolt does, and share edit accumulators.

fix for: dolthub/dolt#5433
Context: #1642 (comment)

Copy link
Contributor

@max-hoffman max-hoffman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, i think this is holding up GMS updates

@jycor jycor changed the base branch from main to james/skip-keyless March 13, 2023 21:20
@jycor jycor changed the base branch from james/skip-keyless to main March 13, 2023 21:20
Copy link
Contributor

@max-hoffman max-hoffman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still LGTM, nice test additions

@jycor jycor merged commit 79efee0 into main Mar 14, 2023
@Hydrocharged Hydrocharged deleted the james/edit-acc branch March 29, 2023 01:10
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.

2 participants