diff --git a/dbt/adapters/clickhouse/__version__.py b/dbt/adapters/clickhouse/__version__.py index a3428ff6..c642cc88 100644 --- a/dbt/adapters/clickhouse/__version__.py +++ b/dbt/adapters/clickhouse/__version__.py @@ -1 +1 @@ -version = '1.8.0' +version = '1.8.1' diff --git a/dbt/adapters/clickhouse/relation.py b/dbt/adapters/clickhouse/relation.py index 01642511..8ad3b39a 100644 --- a/dbt/adapters/clickhouse/relation.py +++ b/dbt/adapters/clickhouse/relation.py @@ -81,9 +81,11 @@ def get_on_cluster( cls: Type[Self], cluster: str = '', materialized: str = '', engine: str = '' ) -> bool: if cluster.strip(): - return materialized in ('view', 'dictionary') or \ - 'distributed' in materialized or \ - 'Replicated' in engine + return ( + materialized in ('view', 'dictionary') + or 'distributed' in materialized + or 'Replicated' in engine + ) else: return False