Test cases for optimization fix
Add test cases that would fail in previous versions because of the just fixed optimization.
This commit is contained in:
parent
002aca3f68
commit
dc193fee39
1
test/c_not_python.query
Normal file
1
test/c_not_python.query
Normal file
@ -0,0 +1 @@
|
||||
πname (σ skill=='C' (people ⋈ skills)) - π name (σ skill=='Python' (people ⋈ skills))
|
4
test/c_not_python.result
Normal file
4
test/c_not_python.result
Normal file
@ -0,0 +1,4 @@
|
||||
name
|
||||
eve
|
||||
john
|
||||
duncan
|
2
test/java_and_perl.query
Normal file
2
test/java_and_perl.query
Normal file
@ -0,0 +1,2 @@
|
||||
πname (σ skill=='Perl' (people ⋈ skills)) ∪ π name (σ skill=='Java' (people ⋈ skills))
|
||||
|
3
test/java_and_perl.result
Normal file
3
test/java_and_perl.result
Normal file
@ -0,0 +1,3 @@
|
||||
name
|
||||
duncan
|
||||
eve
|
1
test/python_and_c.query
Normal file
1
test/python_and_c.query
Normal file
@ -0,0 +1 @@
|
||||
πname (σ skill=='C' (people ⋈ skills)) ∩ π name (σ skill=='Python' (people ⋈ skills))
|
3
test/python_and_c.result
Normal file
3
test/python_and_c.result
Normal file
@ -0,0 +1,3 @@
|
||||
name
|
||||
jack
|
||||
alia
|
Loading…
x
Reference in New Issue
Block a user