Skip to content

Commit af72593

Browse files
authored
Update version and CHANGELOG, incorporate cluster name fix (#203)
1 parent 96474f1 commit af72593

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

Diff for: CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
### Release [1.4.9], 2023-10-27
2+
#### Improvement
3+
- Lots of work on Distributed table materializations. Big thanks to [gfunc](https://github.com/gfunc) for the additional PR
4+
and [Zhenbang](https://github.com/zli06160) for code review and suggestions. See the README for details on how to
5+
use the new functionality.
6+
#### Bug Fix
7+
- dbt would fail if a cluster name contained a dash. This has been fixed. Thanks to [Andy](https://github.com/the4thamigo-uk
8+
for the PR
9+
110
### Release [1.4.8], 2023-08-22
211
#### Bug Fix
312
- Fixed issues with experimental Distributed table materializations. Closes https://github.com/ClickHouse/dbt-clickhouse/issues/179.

Diff for: dbt/adapters/clickhouse/__version__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version = '1.4.8'
1+
version = '1.4.9'

Diff for: dbt/adapters/clickhouse/dbclient.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def _ensure_database(self, database_engine, cluster_name) -> None:
151151
if not db_exists:
152152
engine_clause = f' ENGINE {database_engine} ' if database_engine else ''
153153
cluster_clause = (
154-
f' ON CLUSTER {cluster_name} '
154+
f' ON CLUSTER "{cluster_name}" '
155155
if cluster_name is not None and cluster_name.strip() != ''
156156
else ''
157157
)

0 commit comments

Comments
 (0)