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

Table renames: allow delete-op after put-op #6892

Merged
merged 1 commit into from May 25, 2023

Conversation

snazy
Copy link
Member

@snazy snazy commented May 25, 2023

CommitImpl#commitAddOperations currently expects that Operation.Deletes appear before Operation.Puts (rename table use case). This is not necessary. Iceberg's Nessie catalog submits the operations in the "wrong order" (delete after put), which currently fails in Nessie with a conflict exception. This change makes Nessie resilient against this issue.

`CommitImpl#commitAddOperations` currently expects that `Operation.Delete`s appear before `Operation.Put`s (rename table use case). This is not necessary. Iceberg's Nessie catalog submits the operations in the "wrong order" (delete after put), which currently fails in Nessie with a conflict exception. This change makes Nessie resilient against this issue.
@snazy snazy added this to the 0.60.0 milestone May 25, 2023
@snazy snazy merged commit ebcc7f3 into projectnessie:main May 25, 2023
23 checks passed
@snazy snazy deleted the rename-wrong-order branch May 25, 2023 11: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.

None yet

2 participants