[Tracking] dbt-doris adapter: issues, features & bug-fix progress
- Dominant language
- Java
- Stars
- 15.9k
- Forks
- 3.9k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 520
Description
## Background
`dbt-doris` is the official [dbt](https://www.getdbt.com/) adapter for Apache Doris, located in [`extension/dbt-doris/`](https://github.com/apache/doris/tree/master/extension/dbt-doris). It lets users build, test, and orchestrate data transformation models on Doris using dbt. The adapter is currently at **v1.0.0** and supports the `view`, `table`, and `incremental` materializations, with `persist_docs`, cross-database relations, and dbt-core 1.10.
This is an **umbrella / tracking issue** to consolidate dbt-related work — bug fixes, feature requests, and upstream-compatibility maintenance — so contributors and maintainers have a single place to see status and pick up work. Please comment below to add items or volunteer.
---
## Open bugs & compatibility breakage
Keeping pace with upstream `dbt-core` / `dbt-adapters` is the main source of breakage.
- [x] **#60780** — Adapter tests are broken: `pytest-logbook` mismatches `logbook`, **and** `dbt-tests-adapter` moved from `dbt-labs/dbt-core` to `dbt-labs/dbt-adapters`. Blocks any new contributor from running the test suite. → fix in **PR #64929** *(open, needs review)*
- [ ] **PR #60779** — `dbt docs generate` / `dbt docs serve` fail with `get_catalog() takes 2 positional arguments but 3 were given` after an upstream signature change. *(open, needs review — stalled since Mar 2026)*
## Open feature requests
- [x] **#65967** — Support **async materialized views** as a dbt materialization (`materialized_view` type → `CREATE MATERIALIZED VIEW ... REFRESH ... AS`). *(no PR yet — help wanted)*
- [ ] **#60455** — Allow setting **session variables** on the dbt connection. → implemented in **PR #61054** *(open, needs review — stalled since Mar 2026)*
## Open pull requests awaiting review
| PR | Summary | Closes |
|----|---------|--------|
| **#64929** | Fix broken test dependencies (dbt-tests-adapter URL + logbook pin) | #60780 |
| **#61054** | Add optional `session_variables` to Doris connections | #60455 |
| **#60779** | Use default adapter `get_catalog` so `dbt docs` works again | — |
---
## Recently completed (last ~12 months)
- [x] **PR #61423** — Upgrade dbt-doris adapter to **v1.0.0** (connection mgmt, cross-database relations, transaction no-op, `CREATE OR REPLACE VIEW`, table exchange, `persist_docs`, test suite).
- [x] **PR #53448** — Support **dbt-core 1.10**.
- [x] **PR #64928** — Fix insecure Python dependency pins in `dbt-doris`, `doris-compose`, and `cost_model` (CVE hardening).
Earlier history (2022–2024)
Adapter created in #9299; incremental materialization and bug fixes (#12242, #12280, #16840, #20513); column/view comments and rename (#23917, #24986); non-root permission fix (#22815); atomic table swap (#21931); docs (#22067); `partition_type` support (#9389). Closed compatibility bugs: #46775, #45873, #18284.
---
## How to contribute
- Pick an unchecked item above and comment to claim it.
- Adapter code + tests live under `extension/dbt-doris/`; see the README for local dev setup (note: setup is currently blocked by #60780 until #64929 lands).
- Link new dbt-related issues/PRs here so this list stays current.
Contributor guide
Research direction
Start in extension/dbt-doris/ and read its README for the local development setup. Review the unchecked items and their referenced issues or pull requests, noting that the test suite is blocked by #60780 until #64929 lands. Done means completing one specifically claimed item, adding or updating its tests where applicable, and linking the resulting change here.
Written by the indexing model from the issue text.
Assessment
- Domain
- data-engineering, databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100