Skip to content

Commit

Permalink
Update version and CHANGELOG, incorporate cluster name fix
Browse files Browse the repository at this point in the history
  • Loading branch information
genzgd committed Oct 26, 2023
1 parent 96474f1 commit 41fab3a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
### Release [1.4.9], 2023-10-27
#### Improvement
- Lots of work on Distributed table materializations. Big thanks to [gfunc](https://github.com/gfunc) for the additional PR
and [Zhenbang](https://github.com/zli06160) for code review and suggestions. See the README for details on how to
use the new functionality.
#### Bug Fix
- dbt would fail if a cluster name contained a dash. This has been fixed. Thanks to [Andy](https://github.com/the4thamigo-uk
for the PR

### Release [1.4.8], 2023-08-22
#### Bug Fix
- Fixed issues with experimental Distributed table materializations. Closes https://github.com/ClickHouse/dbt-clickhouse/issues/179.
Expand Down
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.4.8'
version = '1.4.9'
2 changes: 1 addition & 1 deletion dbt/adapters/clickhouse/dbclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def _ensure_database(self, database_engine, cluster_name) -> None:
if not db_exists:
engine_clause = f' ENGINE {database_engine} ' if database_engine else ''
cluster_clause = (
f' ON CLUSTER {cluster_name} '
f' ON CLUSTER "{cluster_name}" '
if cluster_name is not None and cluster_name.strip() != ''
else ''
)
Expand Down

0 comments on commit 41fab3a

Please sign in to comment.