Skip to content
Snippets Groups Projects
Commit 9a150afd authored by Pietro Cavassin's avatar Pietro Cavassin
Browse files

update_from_file removes temporary table

parent 1a1d9a68
No related branches found
No related tags found
No related merge requests found
...@@ -124,6 +124,7 @@ def update_from_file(file_name, table, year, columns=None, ...@@ -124,6 +124,7 @@ def update_from_file(file_name, table, year, columns=None,
ttable = temporary_data(connection, file_name, table, year, offset, delimiters, null) ttable = temporary_data(connection, file_name, table, year, offset, delimiters, null)
table.update_from_temporary(ttable, columns, bind=connection) table.update_from_temporary(ttable, columns, bind=connection)
ttable.drop()
trans.commit() trans.commit()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment