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

[Spark][3.3] Fix auto-conflict handling logic in Optimize to handle DVs #3982

Merged
merged 2 commits into from
Dec 17, 2024

Conversation

rahulsmahadev
Copy link
Collaborator

Which Delta project/connector is this regarding?

  • Spark
  • Standalone
  • Flink
  • Kernel
  • Other (fill in here)

Description

Bug: There was an existing long standing bug where the custom conflict detection logic in Optimize does not catch concurrent transactions that add DVs. e.g. AddFile(path='a') -> AddFile(path='a', dv='dv1').

Fix: Updated the conflict resolution to consider a composite key of (path, dvId) instead of just depending on path.

How was this patch tested?

  • unit tests

Does this PR introduce any user-facing changes?

no

@allisonport-db allisonport-db merged commit 8c18520 into delta-io:branch-3.3 Dec 17, 2024
16 of 19 checks passed
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