Skip to content

fix(adbc): preserve server schema metadata rows - #519

Merged
rahuls-db merged 1 commit into
mainfrom
rahul-singhal_data/rahul-singhal/adbc-preserve-schema-results
Dec 1, 2026
Merged

rahuls-db merged 1 commit into
mainfrom
rahul-singhal_data/rahul-singhal/adbc-preserve-schema-results

Conversation

@rahuls-db

Copy link
Copy Markdown
Collaborator

Description

Rust ADBC appended a synthetic global_temp schema even when the server did not return it. Preserve the server's GetSchemas results so clients see actual schemas and catalog associations.

Remove the synthesized row and add regression coverage for empty results, ordinary schemas, and a server-provided global_temp row. Changes are confined to adbc/.

Testing

  • ADBC tests with ffi enabled: 98 unit tests and the timezone integration test passed; six credentialed live tests remain ignored.
  • ADBC Clippy with all targets and ffi, warnings denied: passed.
  • Standalone ADBC formatting check: passed.
  • Independent review found no actionable defects.

Additional notes

The corresponding PECO runner will stop overriding shared GetSchemas expectations. Server-provided global_temp rows remain unchanged.


This PR was created with GitHub MCP.

@rahuls-db
rahuls-db marked this pull request as ready for review November 30, 2026 23:04
@rahuls-db
rahuls-db requested a review from a team as a code owner November 30, 2026 23:04

@oss-reviewer-bot oss-reviewer-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.

🔀 Cross-reviewed: two independent reviews (Claude Opus 5.5 · GPT-6.1 Sol), checked by a judge model (Claude Sonnet 5.5).

✅ No issues identified.

@rahuls-db
rahuls-db requested a review from vuanhphung November 30, 2026 23:08
@rahuls-db
rahuls-db enabled auto-merge November 30, 2026 23:19
Signed-off-by: Rahul Singhal <rahul.singhal@databricks.com>
@rahuls-db
rahuls-db force-pushed the rahul-singhal_data/rahul-singhal/adbc-preserve-schema-results branch from cccc0f1 to d7eacce Compare November 30, 2026 23:19

@oss-reviewer-bot oss-reviewer-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.

🔀 Cross-reviewed: two independent reviews (Claude Opus 5.5 · GPT-6.1 Sol), checked by a judge model (Claude Sonnet 5.5).

✅ No issues identified.

@rahuls-db
rahuls-db added this pull request to the merge queue Nov 30, 2026
Merged via the queue into main with commit e61e510 Dec 1, 2026
19 of 22 checks passed
cathleeny added a commit that referenced this pull request Dec 1, 2026
Brings in the SIGPIPE blocking on the ADBC and pyo3 runtimes (#510) and the
ADBC schema metadata fix (#519). No conflicts.

Signed-off-by: cat23123 <58714163+cat23123@users.noreply.github.com>
Co-authored-by: Isaac <no-reply@databricks.com>

This branch was successfully deployed

1 active deployment
azure-prod — d7eacce4 Deployed Nov 30, 2026 by rahuls-db via followup #4526
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants