Rust client core for Databricks SQL — the shared engine intended to power the Databricks ODBC, Python, Go, and Node.js drivers.
The kernel exposes a Databricks-native v0 async API (Session →
Statement → ExecutedStatement → ResultStream, plus a flat Metadata
surface) for direct Rust use, the PyO3 (Python) and napi-rs (Node.js)
wrappers, and a C ABI for ODBC / Go consumers. See
docs/spec-v0.md for the API spec.
The separate adbc/ Cargo workspace implements ADBC 1.1 directly over this
native Rust API. It provides both Rust traits and an optional standard ADBC C
entry point for driver managers and other languages; the kernel boundary does
not use FFI.
The native Rust API is production-ready. Its public APIs continue to evolve, so expect breaking changes. The custom C ABI remains under development.
The Rust ADBC implementation under adbc/ is experimental,
unsupported, and not currently published or distributed.
cargo build
cargo test --workspace
# The following commands require a full repository checkout.
make check # workspace fmt + clippy + tests and native ABI smoke tests
cargo test --manifest-path adbc/Cargo.toml --features ffiNative consumers that statically link the kernel and publish separate crash
symbols can use the opt-in release-with-debuginfo profile. See
docs/release-debuginfo.md for build, symbol
splitting, packaging, and binary-identity guidance.
See CONNECTION_PARAMETERS.md for every connection, auth, and session parameter the kernel accepts — its meaning, default value, and the config struct it lives on.
See CONTRIBUTING.md to propose changes. Participation is governed by the Databricks Open Source Code of Conduct, and security vulnerabilities should be reported according to SECURITY.md. For other project questions, contact eng-oss-sql-driver@databricks.com.