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:
Salvo 'LtWorf' Tomaselli
2016-01-03 10:07:23 +01:00
parent eadcca6da7
commit 3b3888e9be
4 changed files with 48 additions and 3 deletions

View File

@@ -0,0 +1 @@
πname,skill(σ skill == 'Perl' (people⋈skills)) πname,skill(σ skill == 'C' (people⋈skills))

View File

@@ -0,0 +1,8 @@
name,skill
jack,C
eve,Perl
duncan,Perl
duncan,C
john,C
alia,C
eve,C