As far as I can follow the code, the tables that have been created by NADEEF are not cleaned up after a run.
We should add:
cursor.execute("DROP TABLE tb_" + name + ";")
cursor.execute("TRUNCATE violation;")
cursor.execute("TRUNCATE repair;")
cursor.execute("TRUNCATE audit;")
As far as I can follow the code, the tables that have been created by NADEEF are not cleaned up after a run. We should add: cursor.execute("DROP TABLE tb_" + name + ";") cursor.execute("TRUNCATE violation;") cursor.execute("TRUNCATE repair;") cursor.execute("TRUNCATE audit;")