Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
haoyuz3
SQL Provenance
Commits
14c5c308
Commit
14c5c308
authored
Sep 23, 2020
by
haoyuz3
Browse files
h
parent
d7a06394
Changes
4
Hide whitespace changes
Inline
Side-by-side
provsql/__pycache__/provenanceUtils.cpython-36.pyc
0 → 100644
View file @
14c5c308
File added
provsql/output.txt
View file @
14c5c308
select student.name from student join regu on student.name=regu.name;
select student.name from student join regu on student.name = regu.name;
provenance formula | name | provsql-token
(student.t1 ⊗ regu.t1) ⊕ (student.t1 ⊗ regu.t2) | jhon | 004c4f1a-67d8-5aa5-b5e3-c2aee1b834d7
(student.t2 ⊗ regu.t3) | mike | c3374551-4f71-586b-90d6-67f592592433
(student.t3 ⊗ regu.t4) ⊕ (student.t3 ⊗ regu.t5) | jack | acf08ab2-1a50-527e-9823-b2ea0ecc2ccb
---------------------------
select student.name from student join (select name from regu) as r on student.name = r.name;
provenance formula | name | provsql-token
(student.t1 ⊗ regu.t1) ⊕ (student.t1 ⊗ regu.t2) | jhon | 35e40191-71ae-5948-bb7b-b506ec569f19
(student.t2 ⊗ regu.t3) | mike | 7efa0002-9d56-5f40-979d-01bef85ad75e
(student.t3 ⊗ regu.t4) ⊕ (student.t3 ⊗ regu.t5) | jack | 8a693cc2-3ebf-5d3d-970a-21094986eaa7
---------------------------
provsql/query.in
View file @
14c5c308
select student.name from student join regu on student.name=regu.name;
select student.name from student join regu on student.name = regu.name;
select student.name from student join (select name from regu) as r on student.name = r.name;
provsql/reset.sh
View file @
14c5c308
...
...
@@ -3,3 +3,7 @@ dropdb test
createdb
test
psql
test
< setup.sql
psql
test
< test.sql
git pull
python3 provenance.py
-q
query.in
-o
output.txt config.txt
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment