Skip to content

feat: expose Lance cleanup_old_versions#37

Open
everySympathy wants to merge 1 commit into
mainfrom
blobv2/cleanup
Open

feat: expose Lance cleanup_old_versions#37
everySympathy wants to merge 1 commit into
mainfrom
blobv2/cleanup

Conversation

@everySympathy

Copy link
Copy Markdown
Collaborator

Summary

Exposes Lance dataset cleanup through daft-lance, allowing callers to remove old dataset versions and reclaim obsolete files through the public wrapper.

Changes

  • Adds a cleanup_old_versions wrapper in daft_lance._lance.
  • Exports the cleanup API from daft_lance.
  • Adds test coverage for cleanup behavior against a Lance dataset with old versions.

Testing

  • uv run --python /usr/bin/python3.11 pytest tests/io/lancedb/test_lancedb_cleanup.py -q
    • Result: passed
  • Lint/type checks for touched files passed locally.

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.

1 participant