Skip to content

fix: return canonical nested index paths#3413

Merged
Xuanwo merged 2 commits into
mainfrom
xuanwo/oss-938-return-canonical-nested-field-paths-from-index-metadata-apis
May 20, 2026
Merged

fix: return canonical nested index paths#3413
Xuanwo merged 2 commits into
mainfrom
xuanwo/oss-938-return-canonical-nested-field-paths-from-index-metadata-apis

Conversation

@Xuanwo

@Xuanwo Xuanwo commented May 20, 2026

Copy link
Copy Markdown
Member

Index metadata APIs now resolve stored field ids back to Lance canonical field paths instead of leaf names, so nested indexes such as metadata.user_id and escaped literal-dot fields round-trip through list_indices(). Native index creation also canonicalizes the input path before handing it to Lance, keeping local metadata consistent with the field-path contract while remote responses continue to expose server-provided canonical columns.

Fixes #3403.

@github-actions github-actions Bot added bug Something isn't working Python Python SDK Rust Rust related issues labels May 20, 2026
@Xuanwo
Xuanwo marked this pull request as ready for review May 20, 2026 06:58

@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 repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

@mintlify

mintlify Bot commented May 20, 2026

Copy link
Copy Markdown

Docs PR opened: lancedb/docs#249

Added a section to the Scalar Index page explaining how to index nested struct fields and escape literal dots.

@Xuanwo
Xuanwo merged commit 2eba7eb into main May 20, 2026
29 checks passed
@Xuanwo
Xuanwo deleted the xuanwo/oss-938-return-canonical-nested-field-paths-from-index-metadata-apis branch May 20, 2026 16:20
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 Rust Rust related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Return canonical nested field paths from index metadata APIs

2 participants