Skip to content

Commit 45b4312

Browse files
committed
add shared to the can exchange logic
1 parent 0342b6f commit 45b4312

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbt/adapters/clickhouse/impl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def can_exchange(self, schema: str, rel_type: str) -> bool:
170170
if rel_type != 'table' or not schema or not self.supports_atomic_exchange():
171171
return False
172172
ch_db = self.get_ch_database(schema)
173-
return ch_db and ch_db.engine in ('Atomic', 'Replicated')
173+
return ch_db and ch_db.engine in ('Atomic', 'Replicated', 'Shared')
174174

175175
@available.parse_none
176176
def should_on_cluster(self, materialized: str = '', engine: str = '') -> bool:

0 commit comments

Comments
 (0)