dbt integration qualification: November 16, 2026¶
Live validation for #40. The machine-readable record identifies the source revisions, binary digests, environment, results, and limits. No credentials, private certificates, production identifiers, or raw operational logs are published in this record.
Tested sources and environment¶
| Component | Recorded version |
|---|---|
| Adapter/integration code | b6ef0935f94206189f55b1bfb25f76a09f8e355f, installed editable for v1; changes are not implied to be in a published package |
| Native Rust engine | 754f0a47164f86226dc568096ac56906ff9d2e69, dbt-oss 2.0.11, Rust 1.96.1 |
| Upstream source baseline | de5f46bf8e58a7e6e635b6d15ebcd09482b56e2f |
| Redis ADBC | Latest stable release at build and final recheck: v0.0.27, commit 225e00569986e8340acd5978345f3275a889ade6; used by both the native library and Flight server |
| Flight source | 4d91e37135080be7f0eeb770fc89fa7adeb14bc8, public community build, Go 1.27.3 |
| Flight client runtime | Python 3.13.16, dbt Core 1.12.6, ADBC manager and Flight SQL client 1.13.0, PyArrow 26.0.0 |
| Native optional Python runtime | Python 3.13.16, ADBC manager 1.12.0, PyArrow 26.0.0; no Python dbt adapter installed |
| Backend | Redis Enterprise, Redis 8.6.2, three shards, Search, active QPF 4x, verified TLS and named-user authentication |
| Host | macOS arm64; exact kernel/platform and binary SHA-256 values are in the JSON record |
The Flight server was built from committed public source with a replacement pointing to the latest stable Redis driver release commit. The build helper resolves that release each time; the recorded version is evidence, not a policy to keep using an older pin. No unreleased driver default-branch changes were substituted. The server and client used verified TLS and Redis ACL login; server-to-Redis connections also verified TLS. The fixture used one private CA for both hops, without a verification bypass.
Results¶
| Check | Result |
|---|---|
| Backend topology, QPF, Search, TLS/auth, write/read/delete | Passed |
| Backend rejection of plaintext, untrusted CA, missing auth, incorrect password | Passed |
| Flight security probes | 5 passed: trusted TLS/login, missing/incorrect credentials rejected, untrusted CA rejected, four concurrent isolated sessions recovering after a failed statement |
| Full dbt v1 functional suite through authenticated Flight SQL | 192 passed, 26 skipped; zero failures/errors or warnings; 218 collected, four pytest workers |
| Adapter unit regressions | 36 passed |
| Native Rust ADBC 1.1 live audit | 1 passed, four concurrent connections |
| Native full-refresh and incremental smoke, five tests per build, cleanup | Passed |
| Explicit native credentials overriding incorrect URI credentials over TLS | Passed |
| Expanded native parity | Passed: Python, contracts, NOT NULL rejection, snapshots/hard deletes, merge, microbatch, sampled gzip CSV, exact totals, persisted docs/catalog, empty builds, cleanup |
| Full sampled native taxi build | 82 successes, one configured source warning; includes Python model, packages, and both unit-test fixtures |
| Native taxi incremental/snapshot/microbatch demos and docs/catalog | Passed |
| Native taxi empty build | 82 successes, cleanup passed |
| Rust auth/profile/macro/metadata regressions | 7 / 2 / 7 / 1 passed; one older opt-in auth test remained ignored, separate live Rust audit ran |
| Rust refused-publication / Decimal256 / unit-fixture regressions | 2 / 1 / 2 passed |
| Rust SQL utility suite | 80 passed, 2 pre-existing ignored |
| Native optional Python runtime / integration harness unit tests | 6 / 24 passed |
The taxi input was the January 2019 TLC CSV, sampled every 50 rows: 153,356 source rows. The one configured source warning is intentional; skips and ignored tests are not counted as passes. Historical Linux results remain in the v2 record with their original engine/driver versions. The new Linux Flight workflow has its own run evidence; its definition alone does not establish a passing run.
Native ADBC surface audited¶
The live Rust test uses the engine's dbt-adbc driver manager and Redis auth
mapping, not the Python adapter or SQL replay. It loads ABI 1.1.0 and checks:
| API/behavior | Evidence |
|---|---|
| Driver/database/connection initialization, URI/credentials/TLS options | Live Rust audit and native builds |
| Driver ADBC version metadata | Database::adbc_version reports V110 |
| Statement allocation, SQL execution and affected rows | Native smoke/parity/taxi and live audit |
| Prepare and Arrow record-batch binding | Bound INSERT succeeds and affects one row |
| Arrow stream binding and bulk ingestion | Two-row append succeeds and affects two rows; Python/CSV paths exercise separate client ingestion |
| Catalog/schema/table/column metadata and table schema | GetObjects and GetTableSchema exercised; native docs/catalog passes |
| Schema-only query and empty result stream | StatementExecuteSchema and zero-row read pass |
| Reuse, errors and concurrency | Four distinct connections use identically named temporary tables, recover after a missing-table error, and read the shared three-row table |
| Ownership and cleanup | Result readers/statements scoped and dropped; temporary tables are connection-local; owned audit and project schemas removed |
The engine's seed path uses SQL literals; Python/CSV ingestion is a separate Arrow runtime. Transactions/rollback, Substrait, distributed partition APIs, HA, multi-replica Flight routing, and an active cancellation stress test are not qualified by this audit. Static analysis remains disabled for Redis.
Concrete failures found and fixed in the candidate¶
- #58: Flight requests
failed with
session is busyand statement-close warnings when schema probes, debug queries, hooks or limited reads left Arrow streams open. Schema probes now use the schema API; SQL headers retain their session effects; unread result batches are discarded before the next RPC and statements are closed. - #59: concurrent native model builds, Flight materializations and Python CSV ingestion surfaced explicit refused snapshot publications. Bounded retries recognize the exact native/wire failure, preserve statement boundaries and reusable input, and refuse cancellation or unknown outcomes.
- #60: taxi unit-test schema
inference rejected
Decimal256(76,16)via the PostgreSQL formatter. Redis now retains decimal precision/scale/nullability without widening PostgreSQL types. - #61: parity parsing
rejected duplicate
driver_options; TLS trust and streaming now share a mapping. - #62: a decimal-valued aggregate failed a Jinja integer comparison with “expected 4, got 4.” The known integer-total queries now cast explicitly to BIGINT, without floating point comparison or dropping the stable-row-number checks.
Reproduction and retained evidence¶
Provision the disposable Enterprise fixture, source
its private environment, and follow the Flight qualification commands.
Build the Flight server with scripts/build_flight_server.py; retain its JSON
manifest and the security/functional JUnit summaries. The full local Flight
suite ran with -n 4 and REDIS_ADBC_TRANSPORT=flightsql.
Build the pinned engine from the v2 guide, install the separate optional runtime, and run:
# Source the verified Enterprise env.sh first. These commands create random
# schemas and remove only the namespaces they own.
export RUST_LOG=trace
python3 v2/smoke.py --dbt /path/to/redis-enabled-dbt --build
python3 v2/parity.py --dbt /path/to/redis-enabled-dbt --keep-artifacts
python3 v2/taxi.py --dbt /path/to/redis-enabled-dbt \
--csv /path/to/yellow_tripdata_2019-01.csv.gz --keep-artifacts
# From the engine checkout, using the same verified environment:
cargo test -p dbt-adapter-engine --test redis_adbc -- --ignored
The native manual workflow now resolves the driver release once and records
that selection, engine/integration source commits, binary identity and
Cargo.lock as run artifacts. The Flight workflow retains its resolved build
manifest and JUnit summaries. The committed JSON here is the sanitized local
summary; private temporary logs are diagnostic material, not public evidence.
Remaining boundaries and follow-ups¶
The native adapter contribution is dbt-labs/dbt#17195. It is submitted, not merged. #63 tracks the failing CodeScene quality gate; #64 tracks the contributor CLA and maintainer-only fork-CI approval. Local tests do not satisfy those upstream gates or add Redis to the stock dbt v2 executable.
Issue #51 tracks native v2
Flight SQL. Actual probes on this candidate reject transport: flightsql as
Unsupported Redis profile option; substituting a grpc+tls:// URI without
that field fails with Redis URI must use redis:// or rediss:// with a host.
Both fail before a Flight query. Native v2 Flight SQL remains unsupported.
The v1 Flight qualification targets one authenticated, session-enabled public server process on macOS. It does not establish other Flight databases, every client/server version, Windows, multireplica deployments, or the full v1 taxi dataset over Flight. This record adds scoped evidence; it does not erase the older unauthenticated-run limitations or equate SQL replay with dbt integration.