- Implemented select_union_intersect_subtract general optimization
- Added tests for the new optimization git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@268 014f5005-505e-4b48-8d0a-63407b615a7c
This commit is contained in:
1
test/union_and_select.query
Normal file
1
test/union_and_select.query
Normal file
@@ -0,0 +1 @@
|
||||
σ skill=='C'(skills) ᑎ σ id%2==0 (skills)
|
4
test/union_and_select.result
Normal file
4
test/union_and_select.result
Normal file
@@ -0,0 +1,4 @@
|
||||
id,skill
|
||||
0,C
|
||||
2,C
|
||||
4,C
|
1
test/union_not_select.query
Normal file
1
test/union_not_select.query
Normal file
@@ -0,0 +1 @@
|
||||
σ skill=='C' (skills) - σ id%2==0(skills)
|
3
test/union_not_select.result
Normal file
3
test/union_not_select.result
Normal file
@@ -0,0 +1,3 @@
|
||||
id,skill
|
||||
5,C
|
||||
7,C
|
1
test/union_or_select.query
Normal file
1
test/union_or_select.query
Normal file
@@ -0,0 +1 @@
|
||||
σ age<21 (people) ᑌ σage >30(people)
|
3
test/union_or_select.result
Normal file
3
test/union_or_select.result
Normal file
@@ -0,0 +1,3 @@
|
||||
id,name,chief,age
|
||||
3,dean,1,33
|
||||
1,carl,0,20
|
Reference in New Issue
Block a user