ClickHouse / dbt-clickhouse

The Clickhouse plugin for dbt (data build tool)
Apache License 2.0
255 stars 113 forks source link

Make temporary table names unique in incremental materializtion #353

Open canbekley opened 2 months ago

canbekley commented 2 months ago

Summary

Currently, a dbt run could drop temporary distributed tables or views while another run is still using them. This can lead to pipeline failure or even mutation failure (with delete+insert strategy). We want to avoid these issues by adding uuid's to table names.

Checklist

Delete items not relevant to your PR:

BentsiLeviav commented 3 weeks ago

Hi @canbekley

Before reviewing this, would you please mind adding your changes to CHANGELOG? (please keep the current format)

canbekley commented 3 weeks ago

Hi @canbekley

Before reviewing this, would you please mind adding your changes to CHANGELOG? (please keep the current format)

Added to changelog 👍