Skip to content

[dbt] Separate the docs for dbt. Include a new section in MVs to cover the new target table setting#5475

Merged
koletzilla merged 10 commits intomainfrom
dbt-clickhouse/updates-2026-02-05
Feb 12, 2026
Merged

[dbt] Separate the docs for dbt. Include a new section in MVs to cover the new target table setting#5475
koletzilla merged 10 commits intomainfrom
dbt-clickhouse/updates-2026-02-05

Conversation

@koletzilla
Copy link
Contributor

@koletzilla koletzilla commented Feb 6, 2026

Summary

  • Separate docs to improve readability.
  • Specially separate MVs materialization in a new page as we are adding a new section for the new target table with many details.
  • Small improvements.

Full context on this feature: ClickHouse/dbt-clickhouse#582
Closes ClickHouse/dbt-clickhouse#561

@vercel
Copy link

vercel bot commented Feb 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
clickhouse-docs Ready Ready Preview Feb 12, 2026 4:05pm
3 Skipped Deployments
Project Deployment Actions Updated (UTC)
clickhouse-docs-jp Ignored Ignored Feb 12, 2026 4:05pm
clickhouse-docs-ru Ignored Ignored Preview Feb 12, 2026 4:05pm
clickhouse-docs-zh Ignored Ignored Preview Feb 12, 2026 4:05pm

Request Review

@koletzilla koletzilla marked this pull request as ready for review February 9, 2026 14:04
@koletzilla koletzilla requested review from a team as code owners February 9, 2026 14:04
slug: /integrations/dbt/features-and-configurations
sidebar_position: 2
description: 'Features for using dbt with ClickHouse'
description: 'Description of the features and general configurations available'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
description: 'Description of the features and general configurations available'
description: 'Description of the features and general configurations available in the dbt-clickhouse adapter'

Copy link
Contributor

@BentsiLeviav BentsiLeviav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@koletzilla Have you encountered any execptions a long the way that are worth mentioning in a dedicated troubleshooting section for the MV materialization?

I know we mentioned some of the errors that might arise, but would it be worth creating a dedicated section? something for instance (but not necessarily):

## Troubleshooting

**"Target has changed" error**
- Cause: Changed `materialization_target_table()` reference without `--full-refresh`
- Fix: Run `dbt run --full-refresh -s your_model`

**Orphaned MV warning after rename**
- Cause: Renamed MV in multi-MV model
- Fix: Manually `DROP TABLE old_mv_name`

**Empty target table after `--full-refresh`**
- Cause: Using `catchup=False` or MVs still recreating
- Fix: Wait for MV recreation or set `catchup=True`

…e` to `mv_on_schema_change` for new mvs. New section for "Common operations"
@koletzilla
Copy link
Contributor Author

#5475 (review)

talked offline: we'll add it in next PRs

@koletzilla koletzilla merged commit c1f7c35 into main Feb 12, 2026
15 checks passed
@koletzilla koletzilla deleted the dbt-clickhouse/updates-2026-02-05 branch February 12, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New MV Implementation - Documentation & Migration Guide

4 participants