Skip to content

Releases: ClickHouse/dbt-clickhouse

v1.9.8

12 Jan 13:54
3e1b15a

Choose a tag to compare

This is a special release packed with community contributions! Thank you all for your PRs, they're really making the connector more useful and easier to use.

What's Changed

  • Remove internal aliases for subqueries so the --empty flag works when tables are used with an alias by @Romano-arist in #487
  • Bump minimum dbt-adapters version to 1.16.7 to fix a compatibility issue that breaks tests if an older version is installed vy @ty44 in #578
  • It is now possible to use an empty local_suffix configuration by @sergeykuprikov in #569
  • dbt can now perform ALTER COLUMN operations to update the columns of the destination table of materialized views. By default, it will work as usual (in a dbt run, if the columns change, the target table will not change), but you can use the on_schema_changes setting to control the behavior by @pkotikalapudi in #534
  • Delay the deletion of the old materialized view during full refresh execution. This ensures the old materialized view remains operational if an error occurs while the new materialized view is being backfilled by @BentsiLeviav in #568
  • Column order is now respected when using incremental materialization with contracts by @StevenReitsma in #575
  • Regular maintenance tasks by @koletzilla in #586
    • Update Python versions used for testing: drop 3.9 support, add 3.13.
    • Update ClickHouse versions used for testing: drop 25.7, add 25.8, 25.10, 25.11, 25.12 and head.
    • Update linting libraries versions.

New Contributors

Full Changelog: v1.9.7...v1.9.8

v1.9.7

03 Dec 15:40
a9e8a0e

Choose a tag to compare

What's Changed

  • We are now officially supporting dbt-core 1.10!
    • Validate that the new --sample flag (docs) works. Add tests to cover the implementation (#570).
    • We have validated that the code doesn't raise warnings related to deprecations for future dbt versions
    • Change tests to use dbt-core 1.10 to start validating new functionality (#570).
    • dbt Catalogs feature is not supported right now, but workarounds are going to be documented.
  • Add clickhouse__safe_cast macro that automatically provides default values for ClickHouse types when casting null values. This eliminates the need to specify all non-nullable columns in unit test fixtures by @MaelleBaillet5 in #552

New Contributors

Full Changelog: v1.9.6...v1.9.7

v1.9.6

03 Nov 11:31
368a8d6

Choose a tag to compare

What's Changed

  • Important for cloud users, who use the Shared Catalog feature - Allow db_engine = 'Shared' in supports_atomic_exchange() by @herbert-allium in #543

New Contributors

Full Changelog: v1.9.5...v1.9.6

v1.9.5

20 Oct 14:46
f485ed7

Choose a tag to compare

What's Changed

  • Fix v.1.9.4 Regression: macro 'dbt_macro__get_expected_sql' takes not more than 2 argument(s) error when executing dbt test by @koletzilla in #548

Full Changelog: v1.9.4...v1.9.5

v1.9.4

08 Oct 14:28
cf69b02

Choose a tag to compare

What's Changed

Bugs and features:

  • Drop internal MV when a model is changed from materialized_view to view by @koletzilla in #516 and #536
  • Ensure that temporary tables are not accessed with database clause by @koletzilla in #515
  • Move dbt-adapters as package dependency and lock a stable version by @koletzilla in #530 and #537
  • Add codec support for column addition in schema changes by @Nikita1198 in #486

Repository maintenance:

New Contributors

Full Changelog: v1.9.3...v1.9.4

v1.9.3

11 Sep 09:17
87bbe8e

Choose a tag to compare

What's Changed

Bugs and features:

  • Shared database to can_exchange by @timfursov in #498
  • Correctly parse query_settings when a String is added by @koletzilla in #497
  • Filter settings that are exclusive for MergeTree Engines by @koletzilla in #504
  • Fix cloud tests and problems with snapshots not using a consistent now() by @BentsiLeviav in #509

Repository maintenance:

  • chore: Substitute deprecated pkg_resources by @enqueue in #471
  • Fix CI running in main: make lint and test_matrix work again by @koletzilla in #502
  • Fix isort not working in Github Actions by @koletzilla in #505

New Contributors

Full Changelog: v1.9.2...v1.9.3

v1.9.2

03 Jun 15:10
6177aeb

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.9.1...v1.9.2

v1.9.1

28 Apr 14:54
c13ee25

Choose a tag to compare

What's Changed

Full Changelog: v1.9.0...v1.9.1

v1.9.0

28 Apr 06:10
65588be

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.8.9...v1.9.0

v1.8.9

16 Feb 16:03
8897ecb

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.8.8...v1.8.9