Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion py-polars/polars/dataframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -4402,7 +4402,6 @@ def unpack_table_name(name: str) -> tuple[str | None, str | None, str]:
mode=mode,
**(engine_options or {}),
)
conn.commit()
return n_rows

elif engine == "sqlalchemy":
Expand Down
2 changes: 1 addition & 1 deletion py-polars/polars/io/database/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,4 @@ def _open_adbc_connection(connection_uri: str) -> Any:
if driver_name in ("duckdb", "snowflake", "sqlite"):
connection_uri = re.sub(f"^{driver_name}:/{{,3}}", "", connection_uri)

return adbc_driver.connect(connection_uri)
return adbc_driver.connect(connection_uri, autocommit=True)
Loading