+ SQL UNION
authorEric Prud'hommeaux <bertails@w3.org>
Tue, 29 Dec 2009 17:27:06 -0500
changeset 84 8a8de8c07f73
parent 83 1bc0b4874513
child 85 768db607cf26
+ SQL UNION
src/test/scala/SQLTest.scala
--- a/src/test/scala/SQLTest.scala	Tue Dec 29 17:26:31 2009 -0500
+++ b/src/test/scala/SQLTest.scala	Tue Dec 29 17:27:06 2009 -0500
@@ -140,8 +140,8 @@
 						   AliasedResource(Relation(Name("Employee")),RelAlias(Name("R_manager")))
 						 )), 
 						 Expression(Set(PrimaryExpressionEq(RelAliasAttribute(RelAlias(Name("R_above")),Attribute(Name("manager"))),
-									 RValueAttr(RelAliasAttribute(RelAlias(Name("R_manager")),Attribute(Name("id"))))),
-						     PrimaryExpressionNotNull(RelAliasAttribute(RelAlias(Name("R_manager")),Attribute(Name("lastName"))))))), 
+										    RValueAttr(RelAliasAttribute(RelAlias(Name("R_manager")),Attribute(Name("id"))))),
+								PrimaryExpressionNotNull(RelAliasAttribute(RelAlias(Name("R_manager")),Attribute(Name("lastName"))))))), 
 					  Select(AttributeList(Set(NamedAttribute(RelAliasAttribute(RelAlias(Name("R_managed")), Attribute(Name("lastName"))),
 										  AttrAlias(Name("A_name"))), 
 								   NamedAttribute(RelAliasAttribute(RelAlias(Name("R_below")), Attribute(Name("manager"))),
@@ -151,8 +151,8 @@
 						   AliasedResource(Relation(Name("Employee")),RelAlias(Name("R_managed")))
 						 )), 
 						 Expression(Set(PrimaryExpressionEq(RelAliasAttribute(RelAlias(Name("R_below")),Attribute(Name("manages"))),
-									 RValueAttr(RelAliasAttribute(RelAlias(Name("R_managed")),Attribute(Name("id"))))),
-						     PrimaryExpressionNotNull(RelAliasAttribute(RelAlias(Name("R_managed")),Attribute(Name("lastName")))))))))),
+										    RValueAttr(RelAliasAttribute(RelAlias(Name("R_managed")),Attribute(Name("id"))))),
+								PrimaryExpressionNotNull(RelAliasAttribute(RelAlias(Name("R_managed")),Attribute(Name("lastName")))))))))),
 							RelAlias(Name("R_union1"))))), 
 			  Expression(Set(PrimaryExpressionEq(RelAliasAttribute(RelAlias(Name("R_union1")),Attribute(Name("A_who"))),
 							     RValueAttr(RelAliasAttribute(RelAlias(Name("R_who")),Attribute(Name("id"))))),