Skip to content

fix(python): route local sync namespace operations through rust#3606

Merged
wjones127 merged 1 commit into
lancedb:mainfrom
jackye1995:jack/local-sync-rust-namespace
Jul 16, 2026
Merged

fix(python): route local sync namespace operations through rust#3606
wjones127 merged 1 commit into
lancedb:mainfrom
jackye1995:jack/local-sync-rust-namespace

Conversation

@jackye1995

@jackye1995 jackye1995 commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Routes local sync child-namespace operations through the Rust-backed connection instead of the Python namespace-client fallback.

Also keeps lazy namespace-client construction for table-to-Lance conversion and preserves public namespace error mappings.

Validated locally with ruff format/check and targeted namespace pytest.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@github-actions github-actions Bot added bug Something isn't working Python Python SDK labels Jul 1, 2026
@wjones127
wjones127 self-requested a review July 6, 2026 23:31

@justinrmiller justinrmiller left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

if namespace_client is None:
conn_uri = getattr(self._conn, "uri", "")
if get_uri_scheme(conn_uri) == "namespace":
if get_uri_scheme(conn_uri) == "namespace" or self._namespace_path:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: it would be worth a comment why there's two possibilities here, and which they come from.

@wjones127
wjones127 merged commit ca39258 into lancedb:main Jul 16, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working Python Python SDK

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants