Skip to content

Commit

Permalink
Update oracle.py
Browse files Browse the repository at this point in the history
  • Loading branch information
pcjedi authored Sep 1, 2022
1 parent 2b4c7c7 commit 823b728
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion didas/oracle.py
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,8 @@ def compressed(pd_table, conn, keys, data_iter):
if len(data) >= buffer_size:
cur.executemany(sql, data)
data = []
cur.executemany(sql, data)
if len(data)>0:
cur.executemany(sql, data)

return compressed

Expand Down

0 comments on commit 823b728

Please sign in to comment.