- Added other tests to expose potential optimization problems

git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@261 014f5005-505e-4b48-8d0a-63407b615a7c
master
LtWorf 2010-10-11 10:51:37 +07:00
parent 6fdd572faa
commit 3d6e0590c0
12 changed files with 40 additions and 0 deletions

@ -0,0 +1 @@
σ name=='eve' (people) ᑎ people

@ -0,0 +1,2 @@
id,name,chief,age
4,eve,0,25

@ -0,0 +1 @@
people ᑎ σ name=='eve' (people)

@ -0,0 +1,2 @@
id,name,chief,age
4,eve,0,25

@ -0,0 +1 @@
people - σ name=='eve'(people)

@ -0,0 +1,8 @@
id,name,chief,age
3,dean,1,33
6,paul,4,30
2,john,1,30
0,jack,0,22
7,alia,1,28
1,carl,0,20
5,duncan,4,30

@ -0,0 +1 @@
σ age<30 (σ (id%2==0) (people) σ age>22(people))

@ -0,0 +1,4 @@
id,name,chief,age
7,alia,1,28
4,eve,0,25
0,jack,0,22

@ -0,0 +1 @@
people σ name=='eve' (people)

@ -0,0 +1,9 @@
id,name,chief,age
3,dean,1,33
6,paul,4,30
2,john,1,30
0,jack,0,22
7,alia,1,28
1,carl,0,20
4,eve,0,25
5,duncan,4,30

@ -0,0 +1 @@
σ name=='eve' (people) people

@ -0,0 +1,9 @@
id,name,chief,age
3,dean,1,33
6,paul,4,30
2,john,1,30
0,jack,0,22
7,alia,1,28
1,carl,0,20
4,eve,0,25
5,duncan,4,30