From 9a150afdeae892a8619f45b69b01e679c0a69804 Mon Sep 17 00:00:00 2001 From: root <ppc19@inf.ufpr.br> Date: Fri, 28 May 2021 14:10:07 +0000 Subject: [PATCH] update_from_file removes temporary table --- database/actions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/database/actions.py b/database/actions.py index 1cf3bb5..cb83c29 100644 --- a/database/actions.py +++ b/database/actions.py @@ -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) table.update_from_temporary(ttable, columns, bind=connection) + ttable.drop() trans.commit() -- GitLab