lance-format / lance-format/lance

Support data deletion in a Fragment

Open
#895 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

arrow rust
Dominant language
Rust
Stars
7.1k
Forks
852
Avg merge
3d 18h
Merged PRs (30d)
272

Description

Problem Statement

Support deletion of rows on a Fragment level. This capability will be used as global Dataset-level deletion or distributed execution of delete operations.

We could expect a method with a signature:


impl Fragment {
   
   /// Returns a new Fragment representing the data being deleted. 
   ///
   /// If returns None, the full fragment is deleted.
   async fn delete(&self,  filter_expr: &str) -> Optional<Fragment> {
       ...
   }
}

Action items

  • Decide the on-disk mechanism for tracking deletion lazily.
  • #908
  • #915
  • #916
  • #943
  • #934
  • #944
  • #973
  • #993

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the proposed Fragment::delete entry point and review the linked action items, especially the remaining #943 item, along with the completed issues listed in the description. Done means Fragment-level deletion supports the stated filter behavior and returns either a new Fragment or no Fragment when the full fragment is deleted.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.