iceberg-rust icon indicating copy to clipboard operation
iceberg-rust copied to clipboard

Deletes passed to `TableTransaction.append_delete()` get silently lost

Open SergeiPatiakin opened this issue 8 months ago • 0 comments

Steps to reproduce

let mut tx = table.new_transaction(None);
tx = tx.append_data(data_file);
tx = tx.append_delete(delete_file);
tx.commit().await;

Observed behavior

  • The commit does not include delete_file

Expected behavior

  • The commit should include delete_file. Alternatively if such a transaction is not supported then the tx.append_* call should error out.

Notes

  • if .append_delete is reordered before .append_data then everything works as expected
  • if .append_delete is on its own without .append_data then everything works as expected

SergeiPatiakin avatar Aug 06 '25 11:08 SergeiPatiakin