Commit 6810af7c authored by Haoyu Z's avatar Haoyu Z
Browse files


parent f3b5d188
......@@ -56,6 +56,7 @@ def preprocess_query(query, cur, conn):
cmdAddProvtuple = "select 'add_provtuple'({})".format(table)
command1 = "select add_provenance('{}');".format(table)
command2 = "select create_provenance_mapping('{}_provtuple_mapping','{}','provtuple');".format(table, table)
ut.commitAndExecute(conn, cur, cmdAddProvtuple)
ut.commitAndExecute(conn, cur, command1)
ut.commitAndExecute(conn, cur, command2)
tablesWithProvenance[table] = 1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment