Repeatedly building dictionaries on a clustered clickhouse is flakey. The __dbt_backup relations are not removed from all nodes, causing errors such as
Cache inconsistency detected: in rename, new key ReferenceKey...
Steps to reproduce
create a dictionary model
run dbt build multiple times against a clickhouse cluster with 2+ nodes
Expected behaviour
Should build reliably, but breaks with alternate invocations.
Describe the bug
Repeatedly building dictionaries on a clustered clickhouse is flakey. The
__dbt_backup
relations are not removed from all nodes, causing errors such asSteps to reproduce
dbt build
multiple times against a clickhouse cluster with 2+ nodesExpected behaviour
Should build reliably, but breaks with alternate invocations.