-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Concurrent writes reconciliation in Delta Lake #16985
Comments
Hello. I have seen this behaviour for a while now. You don't see this behaviour in spark, delta-rs when you do concurrent appends. The delta connector does not seem to lock in the correct metadata delta version like other engines do. I have seen this behaviour for
|
Scenario for realizing that there is a conflict and the query needs to be aborted (error key plays an important role here to notify the client accordingly):
When writing on different partitions of the table therefore the connector should be able to cope transparently for the user with concurrent inserts - there are no shared resources which are being modified by the queries running concurrently. |
Basic algorithm (shared from an answer of @findepi )
|
Overview of the PRs used to cover the concurrent reconciliation functionality:
|
@findinpath awesome progress!
by any chance, is in the works? |
I plan to create a PR for handling |
Support transactions that e.g. insert data concurrently, or such that modify data within disjoint data sets (eg partitions).
The text was updated successfully, but these errors were encountered: