Skip to content

Commit

Permalink
dont unlink
Browse files Browse the repository at this point in the history
  • Loading branch information
pnadolny13 committed May 11, 2024
1 parent e266d87 commit b9d5636
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion target_postgres/sinks.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ def bulk_insert_records( # type: ignore[override]
with open(csv_file, "r") as f:
with connection.connection.cursor() as cur:
cur.copy_expert(copy_sql, f)
pathlib.Path.unlink(csv_file)
return True

def upsert(
Expand Down

0 comments on commit b9d5636

Please sign in to comment.