Skip to content

fix(metadata): accept null and empty primary-key namespace - #537

Draft
vuanhphung wants to merge 2 commits into
mainfrom
fix/primary-keys-null-empty-namespace
Draft

vuanhphung wants to merge 2 commits into
mainfrom
fix/primary-keys-null-empty-namespace

Conversation

@vuanhphung

@vuanhphung vuanhphung commented Oct 2, 2026 •

Copy link
Copy Markdown
Collaborator

Keep the public PrimaryKeysRequest contract unchanged (catalogName?: string, schemaName: string). Forward runtime null/undefined and explicit empty namespace strings to the kernel unchanged, matching Thrift. The Thrift implementation is unchanged.

Depends on databricks/databricks-sql-kernel#379 and a published native kernel package containing that change. This draft does not include the package-version bump.

Tested: 1,350 Node unit tests passed, including all 16 namespace combinations for each backend. Production TypeScript checking, formatting, and linting passed. The rebuilt native binding passed the 16-case JavaScript smoke test.

Signed-off-by: Vu Anh Phung <vu.phung@databricks.com>
Signed-off-by: Vu Anh Phung <vu.phung@databricks.com>

This branch was successfully deployed

1 active deployment
azure-prod — 7f5dcc95 Deployed Oct 2, 2026 by vuanhphung via e2e-test (24) #1632
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