[Checkins] SVN: Sandbox/adamg/ocql/branches/optimize-with-index/src/ocql/ brk was left, tests failed

Adam Groszer agroszer at gmail.com
Thu Jul 10 05:02:51 EDT 2008


Log message for revision 88160:
  brk was left, tests failed

Changed:
  U   Sandbox/adamg/ocql/branches/optimize-with-index/src/ocql/compiler/compiler.txt
  U   Sandbox/adamg/ocql/branches/optimize-with-index/src/ocql/queryobject/queryobject.py
  U   Sandbox/adamg/ocql/branches/optimize-with-index/src/ocql/tests/run.txt

-=-
Modified: Sandbox/adamg/ocql/branches/optimize-with-index/src/ocql/compiler/compiler.txt
===================================================================
--- Sandbox/adamg/ocql/branches/optimize-with-index/src/ocql/compiler/compiler.txt	2008-07-10 08:56:34 UTC (rev 88159)
+++ Sandbox/adamg/ocql/branches/optimize-with-index/src/ocql/compiler/compiler.txt	2008-07-10 09:02:50 UTC (rev 88160)
@@ -50,7 +50,7 @@
     >>> aopt = AlgebraOptimizer(alg)()
     >>> run = AlgebraCompiler(aopt)(metadata, alg)
     >>> print str(run)
-    RunnableQuery: reduce(set.union, map(lambda i: set([i]),set(metadata.getAll("ICourse"))), set())
+    RunnableQuery: reduce(set.union, map(lambda i: set([i]), set(metadata.getAll("ICourse"))), set())
 
 
     ##bag not implemented
@@ -67,4 +67,4 @@
     >>> aopt = AlgebraOptimizer(alg)()
     >>> run = AlgebraCompiler(aopt)(metadata, alg)
     >>> print str(run)
-    RunnableQuery: reduce(set.union, map(lambda c: set([c.code]),set(metadata.getAll("ICourse"))), set())
\ No newline at end of file
+    RunnableQuery: reduce(set.union, map(lambda c: set([c.code]), set(metadata.getAll("ICourse"))), set())
\ No newline at end of file

Modified: Sandbox/adamg/ocql/branches/optimize-with-index/src/ocql/queryobject/queryobject.py
===================================================================
--- Sandbox/adamg/ocql/branches/optimize-with-index/src/ocql/queryobject/queryobject.py	2008-07-10 08:56:34 UTC (rev 88159)
+++ Sandbox/adamg/ocql/branches/optimize-with-index/src/ocql/queryobject/queryobject.py	2008-07-10 09:02:50 UTC (rev 88160)
@@ -316,8 +316,6 @@
 
 class Property(Binary):
     def rewrite(self, algebra): # FIXME: Ezt gondold at...
-        from pub.dbgpclient import brk; brk('172.16.144.39')
-
         return algebra.Identifier(
             '.'.join([self.left.name, self.right.name]))
 

Modified: Sandbox/adamg/ocql/branches/optimize-with-index/src/ocql/tests/run.txt
===================================================================
--- Sandbox/adamg/ocql/branches/optimize-with-index/src/ocql/tests/run.txt	2008-07-10 08:56:34 UTC (rev 88159)
+++ Sandbox/adamg/ocql/branches/optimize-with-index/src/ocql/tests/run.txt	2008-07-10 09:02:50 UTC (rev 88160)
@@ -54,7 +54,7 @@
     >>> engine = OCQLEngine()
     >>> run = engine.compile("set [ i in ICourse | i ]")
     >>> run
-    RunnableQuery: reduce(set.union, map(lambda i: set([i]),set(metadata.getAll("ICourse"))), set())
+    RunnableQuery: reduce(set.union, map(lambda i: set([i]), set(metadata.getAll("ICourse"))), set())
 
     >>> result = run.execute()
     >>> result
@@ -68,7 +68,7 @@
     >>> engine = OCQLEngine()
     >>> run = engine.compile("set [ c in ICourse | c.code ]")
     >>> run
-    RunnableQuery: reduce(set.union, map(lambda c: set([c.code]),set(metadata.getAll("ICourse"))), set())
+    RunnableQuery: reduce(set.union, map(lambda c: set([c.code]), set(metadata.getAll("ICourse"))), set())
 
     >>> result = run.execute()
     >>> result



More information about the Checkins mailing list