optimization on product and select working

git-svn-id: http://galileo.dmi.unict.it/svn/relational/trunk@165 014f5005-505e-4b48-8d0a-63407b615a7c
master
LtWorf 2009-05-12 13:31:25 +07:00
parent 004a6bb84e
commit bc60be3ace
1 changed files with 1 additions and 1 deletions

@ -251,7 +251,7 @@ if __name__=="__main__":
rels["S1"]= relation.relation("/home/salvo/dev/relational/trunk/samples/skillo.csv")
print rels
#n=tree("π indice,qq,name (ρ age➡qq,id➡indice (P1-P2))")
n=tree("σ id==3 and id==indice and indice==2 and name==5(P1 * S1)")
n=tree("σ id==3 and id==indice and indice==2 and name==5 or name<2(P1 * S1)")
print optimizations.selection_and_product(n,rels)
print n