Repository navigation
connection: add multi-level namespace paths - #137
Merged
Merged
Conversation
added 3 commits
November 22, 2026 07:05
Share one borrowed C namespace path conversion across the namespace entry points, add multi-level namespace CRUD, list and describe APIs, table management path variants, and the TableNamesBuilder namespace setter. Older single-component entry points keep their behavior.
Clear the new path list and describe result slots and the error slot on entry, and publish list and description results only after the complete conversion. Cover sentinel slots on invalid arguments and SDK failures, and document the pinned rename capability and omitted target namespace behavior.
This was referenced Nov 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #124
Adds the multi-level namespace-path slice of #124. One shared conversion turns a borrowed
const char* const*plus length into the SDK'sVec<String>; additive C entry points use it for namespace and table management.API
namespace_path_from_cinsrc/connection.rsis the single parser (pub(crate)). Zero length is the root namespace; a positive length rejects a NULL array, NULL elements and invalid UTF-8; namespace component validation stays with the SDK.lancedb_table_names_builder_namespacesets the path on the existing builder, preservinglimit/start_afterpagination and builder ownership.LanceDBNamespaceDescriptionandlancedb_free_namespace_descriptionpass through the SDK's optionalpropertiesandcontextmaps, preserving absent versus empty.SDK-backed scope
All namespace and table operations call the pinned
lancedbv0.42.0-beta.21connection APIs. The binding adds no local namespace semantics. #125's create/open builders and #126 DML are unchanged.Validation
cargo check --all-targetsx86_64-pc-windows-msvc(157 functions, 28 structs, 5 shared enums, self-tests pass)dirnamespace create/list/describe/drop, table management paths, theTableNamesBuildernamespace setter, zero-length root spelling, and NULL/invalid path argumentsHosted CI runs on this head.