diff --git a/dbt/adapters/clickhouse/relation.py b/dbt/adapters/clickhouse/relation.py index 8ad3b39a..a75a1e45 100644 --- a/dbt/adapters/clickhouse/relation.py +++ b/dbt/adapters/clickhouse/relation.py @@ -82,7 +82,7 @@ def get_on_cluster( ) -> bool: if cluster.strip(): return ( - materialized in ('view', 'dictionary') + materialized in ('materialized_view', 'view', 'dictionary') or 'distributed' in materialized or 'Replicated' in engine )