Skip to content

Commit 43de9c6

Browse files
authored
Merge pull request #316 from ClickHouse/update-adapter-version-pre-release
increase version
2 parents f26f9af + db0e411 commit 43de9c6

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed
+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = '1.8.0'
1+
version = '1.8.1'

dbt/adapters/clickhouse/relation.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,11 @@ def get_on_cluster(
8181
cls: Type[Self], cluster: str = '', materialized: str = '', engine: str = ''
8282
) -> bool:
8383
if cluster.strip():
84-
return materialized in ('view', 'dictionary') or \
85-
'distributed' in materialized or \
86-
'Replicated' in engine
84+
return (
85+
materialized in ('view', 'dictionary')
86+
or 'distributed' in materialized
87+
or 'Replicated' in engine
88+
)
8789

8890
else:
8991
return False

0 commit comments

Comments
 (0)