Open echai58 opened 6 months ago
What happens if you do table_2.update_incremental() before running delete?
@ion-elgreco Yeah running update_incremental
before running delete allows delete the run correctly, which makes sense because it makes it no longer a concurrent operation to the append.
Environment
Delta-rs version: 0.17.3
Binding: python
Bug
What happened: When performing a concurrent write + delete, the delete operation raises a
DeltaError: Generic DeltaTable error: Version mismatch
, but the delete gets performed.What you expected to happen: The output should match the actual result of the operation. I'd be okay with either the concurrent delete failing with an exception, or succeeding without an exception.
How to reproduce it:
If you inspect the table data after the delete, you'll see the data was deleted, and the commit log includes a
002.json
indicating the successful delete.More details: