Skip to content

Commit b6814f5

Browse files
committed
Update dbt-adapters version to 1.22
1 parent b848fba commit b6814f5

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#### Improvements
44
* Respect `catchup` configuration flag during full refresh operations for materialized views. When `catchup: False` is set, the target table will not be backfilled with historical data during full refresh, providing consistent behavior across initial creation and redeployment scenarios ([#589](https://github.com/ClickHouse/dbt-clickhouse/pull/589)).
55
* Add update_field and update_lag, which is used in https://clickhouse.com/docs/sql-reference/dictionaries#refreshing-dictionary-data-using-lifetime and makes lifetime optional ([#580](https://github.com/ClickHouse/dbt-clickhouse/pull/580)).
6+
* Update `dbt-adapters` version to 1.22 ([#](https://github.com/ClickHouse/dbt-clickhouse/issues/)).
67

78
#### Bugs
89
* Fix incremental models failing with `ON CLUSTER` when the table exists on a single shard. The `can_on_cluster` flag now also considers the cluster configuration from the profile, not just the actual shard distribution ([#273](https://github.com/ClickHouse/dbt-clickhouse/issues/273)).

dbt/include/clickhouse/macros/materializations/unit.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
{%- endfor -%}
2525

2626
{% if not expected_sql %}
27-
{% set expected_sql = get_expected_sql(expected_rows, column_name_to_data_types) %}
27+
{% set expected_sql = get_expected_sql(expected_rows, column_name_to_data_types, column_name_to_quoted) %}
2828
{% endif %}
2929
{% set unit_test_sql = get_unit_test_sql(sql, expected_sql, expected_column_names_quoted) %}
3030

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def _dbt_clickhouse_version():
5454
},
5555
install_requires=[
5656
f'dbt-core>={dbt_minor_version}',
57-
'dbt-adapters>=1.16.7,<1.17', # This version should be dbt-adapters>=1.16.7,<2.0, but keeping it fixed for now to avoid unexpected issues. We need to frequently update it.
57+
'dbt-adapters>=1.22.0,<1.22.5', # This version should be dbt-adapters<2.0, but keeping it fixed for now to avoid unexpected issues. We need to frequently update it.
5858
'clickhouse-connect>=0.10.0',
5959
'clickhouse-driver>=0.2.10',
6060
'setuptools>=0.69',

0 commit comments

Comments
 (0)