Skip to content

feat: add update_lance and delete_from_lance APIs#14

Open
Lucas61000 wants to merge 1 commit into
daft-engine:mainfrom
Lucas61000:issue-13
Open

feat: add update_lance and delete_from_lance APIs#14
Lucas61000 wants to merge 1 commit into
daft-engine:mainfrom
Lucas61000:issue-13

Conversation

@Lucas61000
Copy link
Copy Markdown

Changes Made

  • Add update_lance(): updates rows in a Lance dataset using SQL expressions
  • Add delete_from_lance(): deletes rows from a Lance dataset using SQL predicates
  • Includes 10 tests covering: matching rows, no matches, update-all, multi-column, string updates, NULL checks

Related Issues

Closes #13

Add two new PublicAPI functions to daft-lance:
- update_lance(): Update rows in a Lance dataset using SQL expressions
- delete_from_lance(): Delete rows from a Lance dataset using SQL predicates

Both functions accept an optional io_config for custom storage configuration
and wrap the native Lance dataset update/delete APIs. Includes 10 test cases
covering matching rows, no matches, multiple columns, string updates, and
NULL checks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add update_lance and delete_from_lance APIs

1 participant