Skip to content

feat: add BaseLanceNamespace that provides an implementation of all APIs through the Lance Rust SDK#324

Open
wombatu-kun wants to merge 1 commit intolance-format:mainfrom
wombatu-kun:rust-impl-BaseLanceNamespace
Open

feat: add BaseLanceNamespace that provides an implementation of all APIs through the Lance Rust SDK#324
wombatu-kun wants to merge 1 commit intolance-format:mainfrom
wombatu-kun:rust-impl-BaseLanceNamespace

Conversation

@wombatu-kun
Copy link
Copy Markdown

Closes #171

Add lance-namespace-base crate — a filesystem/object-store-backed implementation of the LanceNamespace trait that delegates all operations directly to the Lance Rust SDK (Dataset, Scanner, index APIs, etc.).

Implementation

  • Hierarchical namespaces mapped to directories with .lance-namespace marker files
  • Tables stored as {namespace_path}/{table_name}.lance datasets
  • Full trait coverage: all 47 LanceNamespace methods implemented, including namespace CRUD, table CRUD, data operations (insert/merge-insert/update/delete/query), index management (scalar, vector, FTS), versioning (list/create/describe/batch-delete/restore), schema alterations, tags, transactions, and query plan explain/analyze
  • Builder pattern with support for storage options, Lance sessions, and from_properties() construction
  • Pagination support for list operations (tables, indices, tags)
  • register_table and alter_transaction return Unsupported as they are not applicable to a direct filesystem namespace

@github-actions github-actions Bot added enhancement New feature or request rust Rust features labels Mar 31, 2026
@github-actions
Copy link
Copy Markdown
Contributor

ACTION NEEDED
Lance follows the Conventional Commits specification for release automation.

The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification.

For details on the error please inspect the "PR Title Check" action.

@wombatu-kun wombatu-kun changed the title feat: add Rust BaseLanceNamespace that provides an implementation of all APIs through the Lance core SDK feat: add BaseLanceNamespace that provides an implementation of all APIs through the Lance Rust SDK Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request rust Rust features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BaseLanceNamespace Rust

1 participant