Supported Surface & Build Matrix¶
Status: living document. Owner: BenoDB core.
This document is the authoritative map between what we ship (the release
workflow in .github/workflows/release.yml)
and what we support, so documentation, the feature matrix, and limitations
stay aligned with the actual build. It also marks the boundary between the
supported core and experimental / deferred surfaces.
1. Platforms and Python ABI¶
Wheels are ABI3 (abi3, built against CPython 3.10) unless noted, produced by
PyO3/maturin-action. The stable ABI is forward-compatible, so the same wheels
install on CPython 3.10 through 3.15; 3.15 is supported but is not yet a CI
smoke-test target (CI runs 3.10–3.12, with ABI3 wheels built on 3.10):
Platform |
Architectures |
Notes |
|---|---|---|
Linux (manylinux, zig) |
|
|
macOS |
|
|
Windows |
|
|
Artifacts per release: core wheel, bdb-search gateway wheel, bdb-flight
server wheel, bdb-mcp server wheel, plus a source distribution. The release
gate runs the weekly soak (soak.yml) and a lock-down soak-gate job before
any tag is published. Writes are byte-reproducible for a given revision because
SOURCE_DATE_EPOCH is pinned in the release workflow.
2. Supported core¶
These surfaces are covered by CI and are the ones we stand behind:
Engine — Iceberg-format tables (V2/V3 subset), WAL + MVCC commits, indexes (HNSW/IVF, TurboQuant variants, inverted/BM25, bitmap, CSR graph), compaction, vacuum, snapshot rollback, pinned read views, schema evolution, multi-writer OCC, and Iceberg catalogs (
docs/CATALOG_USAGE.md—TableRequirementvalidation + HTTP-409 CAS retry acrossrest[Bearer/OAuth2/SigV4],s3tables,memory,jdbc[PostgreSQL/SQLite],glue[SDKversion_id&mode="rest"],hive[expected_parameter],unity[Unity Tables & Iceberg REST], andnessie[expectedHash]).SQL — the full DataFusion surface plus the engine’s UDFs (vector distance, pgvector operators, JSON path, graph UDAFs) and the catalog DDL layer (
CREATE INDEX,ALTER TABLE,OPTIMIZE,VACUUM,ALTER … EXECUTE).Python —
benodb.Table/Session,FlightClient,SearchClient(seedocs/integrations/PYTHON.md).Flight SQL — trusted server-mode surface (see §4).
Untrusted connectors — MCP server (
contrib/benodb-mcp) and the OpenSearch/Qdrant-compatible search gateway (contrib/benodb-search). Both enforce the catalog storage policy.
3. Experimental / deferred / optional¶
Not part of the supported-core guarantee:
Surface |
Where |
Status |
|---|---|---|
Spark connector ( |
subproject |
Native (Iceberg-free) path; see ADR-007 |
Trino connector ( |
subproject |
Native path; typed set-returning table functions still open |
Flink |
— |
No bespoke connector. Integrate via the Iceberg Flink connector + Flight SQL/JDBC |
GPU backends (CUDA / ROCm / Metal / Intel) |
feature-gated + |
Batch-oriented acceleration only; not end-to-end resident GPU search ( |
Broker event adapters (Kafka/NATS/RabbitMQ) |
planned |
Deferred — see |
LangChain / LlamaIndex adapters |
planned |
Deferred |
Iceberg |
— |
Deferred (see Roadmap themes 7–9) |
Feature gates for the core crate: python, java, plus the GPU backends. A
default build is CPU-only and Python/JVM-free.
4. Trust model (must match the deployment)¶
Trusted (full catalog authority, never policy-enforced): the embedded core, Arrow Flight SQL, Spark, Trino, dbt. Flight SQL is for unsupported languages talking to the core and must not be exposed on an untrusted network.
Untrusted (catalog-policy enforced): MCP, the OpenSearch/Qdrant-compatible Search REST gateway, and any external agent.
Search gateway (server connector) — schemas are provisioned on the backend and the gateway never creates a schema. With no policy it is read-only (reads allowed; no writable schema) and logs a startup warning (
BDB_SEARCH_REQUIRE_POLICY=1makes it refuse to start instead). With a policy, writes are allowed only to schemas listedread-write(there is no defaultscratchnamespace) and reads are the read-only floor / policy allowlist. Ano_access_schemaslist denies both read and write. This isSchemaPermissions::for_server_connector.MCP (local agent) — same lists, but a local agent keeps a writable
scratchscratchpad by default. Enforcement is identical across MCP and the gateway APIs: the OpenSearch API (_search,_count,_doc/{id},_mapping) and the Qdrant API (search/query/scroll/retrieve/count/recommend/discover plus every mutating route).
See docs/CATALOG_USAGE.md and
SECURITY.md.
5. Known limitations¶
Iceberg deviations are enumerated in
docs/ICEBERG_COMPATIBILITY.mdand the pgvector notes in theREADME.The search gateway has no
scratchwrite namespace and never creates a schema: writes require a policy grant naming the schema. For MCP (a local agent)scratchis a single shared schema name, not per-tenant — a scratch write grant cannot be used to write outsidescratch, but there is no tenant-level isolation withinscratch.Catalog-policy concurrency: read-modify-write policy updates use optimistic concurrency (CAS); a backend that does not support conditional PUTs falls back to last-writer-wins.
Benchmarks: only the full-site Wikipedia Graph-RAG benchmark is stood behind; see
docs/BENCHMARKING.mdfor the reproducibility contract.
6. Keeping this current¶
Update this file in the same PR that changes:
the release matrix in
.github/workflows/release.yml,the set of cargo features, or
the trusted/untrusted connector boundary.