Skip to content

Commit 8e47b79

Browse files
committed
fix(mssql): attempt to support MERGE for backend
1 parent 21994eb commit 8e47b79

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ibis/backends/mssql/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,8 @@ def _safe_raw_sql(self, query, *args, **kwargs):
424424
with contextlib.suppress(AttributeError):
425425
query = query.sql(self.dialect)
426426

427+
query = f"{query};"
428+
427429
with self.begin() as cur:
428430
cur.execute(query, *args, **kwargs)
429431
yield cur

0 commit comments

Comments
 (0)