Skip to content

Deletes passed to TableTransaction.append_delete() get silently lost #232

@SergeiPatiakin

Description

@SergeiPatiakin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions