New optimization
Turns π a,b,c(A) ∪ π a,b,c(B) into π a,b,c(A ∪ B) if A and B are union compatible Works with union, intersection and difference.
This commit is contained in:
1
test/union_projection.query
Normal file
1
test/union_projection.query
Normal file
@@ -0,0 +1 @@
|
||||
πname,skill(σ skill == 'Perl' (people⋈skills)) ∪ πname,skill(σ skill == 'C' (people⋈skills))
|
8
test/union_projection.result
Normal file
8
test/union_projection.result
Normal file
@@ -0,0 +1,8 @@
|
||||
name,skill
|
||||
jack,C
|
||||
eve,Perl
|
||||
duncan,Perl
|
||||
duncan,C
|
||||
john,C
|
||||
alia,C
|
||||
eve,C
|
Reference in New Issue
Block a user