feat(c/db2): add initial connection-only Db2 driver#4286
Open
nishantchandraa wants to merge 1 commit intoapache:mainfrom
Open
feat(c/db2): add initial connection-only Db2 driver#4286nishantchandraa wants to merge 1 commit intoapache:mainfrom
nishantchandraa wants to merge 1 commit intoapache:mainfrom
Conversation
Introduce the IBM DB2 C/C++ driver skeleton with connection lifecycle support, option parsing, and connection-level error handling to establish a small, reviewable baseline. Add focused connection-flow tests and minimal build/docs wiring while deferring execution and metadata APIs to follow-up work.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces an initial C/C++ ADBC driver for IBM Db2, intentionally scoped to connection management only so maintainers can review a small, focused baseline.
Included in this PR
SQLHENVmanagement)SQLHDBCallocation, connect, disconnect)urisupportusername/passwordsynonymsurioverrides conflicting per-field options1-65535required)Explicitly out of scope
GetInfo,GetObjects, schemas/catalog)Validation
Tested against a live Db2 instance on
localhost:50000:adbc-driver-db2-test: 15/15 passedctest -L driver-db2: passCoverage includes:
uriprecedence over per-field optionsNotes for reviewers
This PR is intentionally narrow to establish a clean, reviewable baseline for DB2 support in ADBC. Follow-up PRs will add statement execution, metadata, transaction functionality, and broader feature parity incrementally.