Skip to content

Commit

Permalink
Merge pull request #316 from ClickHouse/update-adapter-version-pre-re…
Browse files Browse the repository at this point in the history
…lease

increase version
  • Loading branch information
BentsiLeviav authored Jul 11, 2024
2 parents f26f9af + db0e411 commit 43de9c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dbt/adapters/clickhouse/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = '1.8.0'
version = '1.8.1'
8 changes: 5 additions & 3 deletions dbt/adapters/clickhouse/relation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 43de9c6

Please sign in to comment.