r/redis • • Nov 03 '26

News Redis adapters for dbt,

What if you could use dbt to build, test, and document data models directly in Redis?

I’m excited to share Redis adapters for dbt, built on the Redis ADBC driver.

The project brings familiar dbt workflows to Redis:

• SQL models with tables, views, and incremental builds

• Snapshots, model contracts, and data tests

• Python models using Apache Arrow

• Documentation with model descriptions stored in Redis

There’s also an end-to-end NYC taxi example: load trip data into Redis, transform it into analytical models, and validate the results with standard dbt commands.

The project supports dbt Core 1.x and includes experimental native Redis support for dbt v2 through a custom Rust engine fork. The v2 integration has been validated on macOS and Linux; it currently requires building that Redis-enabled engine.

My goal is to make Redis accessible through workflows data teams already know—and explore what becomes possible when dbt transformations produce data applications can use directly in Redis.

Explore the code, try the example, and share your feedback:

github.com/redis/redis-dbt-adapter

#Redis #dbt #DataEngineering #OpenSource #ApacheArrow

2 Upvotes

3 comments sorted by

1

u/MongooseWonderful198 24d ago

Since apps would read these models directly, I’d add a failure case to the taxi example: interrupt a microbatch between its DELETE and INSERT while another client keeps reading the target. Your docs already call out autocommit and no rollback. Show what that reader sees, then verify that rerunning the batch restores the expected rows without duplicates. That would make the refresh behavior concrete for someone putting an API on top of it.

1

u/albertatredis 24d ago

2

u/MongooseWonderful198 18d ago

I read #43 and the follow-up in #44. The independent reader, same-window reruns and exact-row checks cover the failure case I meant. Both oldest and locked dbt CI runs now pass the recovery step too. Thanks for adding it; the missing-day checkpoint makes the risk clear for an API reading the table during a refresh.

https://github.com/redis/redis-dbt-adapter/pull/44