Skip to content

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

Merged
vuanhphung merged 3 commits into
mainfrom
fix/primary-keys-null-empty-namespace
Oct 6, 2026
Merged

vuanhphung merged 3 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.

Pin KERNEL_REV to 4278294a0392cf138c170b071b855b03e29efe79, the merged databricks/databricks-sql-kernel#379 fix, and regenerate the native binding contract. Remains draft until native kernel packages containing the fix are published and the package pins/lockfile are updated; the currently published 1.1.0 predates the fix.

Verified: 1,350 unit tests, production TypeScript build, lint, and tracked-source formatting passed. The rebuilt native binding passed all 16 namespace combinations against a localhost mock, plus table validation and lookup-error propagation. Full-project tsc --noEmit still reports existing self-import resolution errors in the token-federation examples.

Signed-off-by: Vu Anh Phung <vu.phung@databricks.com>
Signed-off-by: Vu Anh Phung <vu.phung@databricks.com>
Signed-off-by: Vu Anh Phung <vu.phung@databricks.com>
@vuanhphung
vuanhphung marked this pull request as ready for review October 6, 2026 02:10

@peco-review-bot peco-review-bot 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.

✅ No issues identified by the review bot.

@vuanhphung vuanhphung added the integration-test Trigger the cross-repo driver-test Node.js integration suite on this PR label Oct 6, 2026
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown

Node.js integration tests triggered. View workflow runs. The result posts back here as the "Node.js Integration Tests" check.

@vuanhphung vuanhphung added the kernel-e2e Preview-run the SEA Kernel E2E suite on this PR label Oct 6, 2026
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown

Node.js integration tests triggered. View workflow runs. The result posts back here as the "Node.js Integration Tests" check.

@vuanhphung
vuanhphung added this pull request to the merge queue Oct 6, 2026
Merged via the queue into main with commit 0bce748 Oct 6, 2026
45 of 46 checks passed
@vuanhphung
vuanhphung deleted the fix/primary-keys-null-empty-namespace branch October 6, 2026 18:13

This branch was successfully deployed

1 active deployment
azure-prod — 47d9dbb8 Deployed Oct 6, 2026 by vuanhphung via run-kernel-e2e #487
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integration-test Trigger the cross-repo driver-test Node.js integration suite on this PR kernel-e2e Preview-run the SEA Kernel E2E suite on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants