Skip to content

Commit b4bacda

Browse files
amotlseut
andauthored
Update src/cratedb_fivetran_destination/engine.py
Co-authored-by: Sebastian Utz <[email protected]>
1 parent 8a332f8 commit b4bacda

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/cratedb_fivetran_destination/engine.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,6 @@ def to_sql(self) -> SqlBag:
180180
sqlbag.add(f'ALTER TABLE {table_real} SET ("blocks.write"=false);')
181181
sqlbag.add(f"ALTER CLUSTER SWAP TABLE {table_temp} TO {table_real} WITH(drop_source=true)")
182182

183-
# Drop the temporary table.
184-
sqlbag.add(f"DROP TABLE {table_temp}")
185183

186184
return sqlbag
187185

0 commit comments

Comments
 (0)