Update of /cvsroot/monetdb/pathfinder/compiler
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26788

Modified Files:
      Tag: XQuery_0-24
        compile.c 
Log Message:
-- Re-implemented the join pushdown optimization phase
   (due to incorrect rewrites).

   o The special equi-join operator working on unique column
     names now incorporates for each operand a projection.

     Based on this projection we can now always maintain the
     correct schema and push the join even through renaming
     projections.

     The old variant did in some cases 'forget' from which
     operand of an equi-join columns with the same name stem
     from.

   o The new equi-join pushdown phase is a lot more effective
     than the old one and thus generates very wide relations
     (where a large number of columns can be pruned afterwards).

     Placing a projection pushdown phase (icols optimization)
     afterwards allows us to map the resulting plans back to
     bit-encoded column names without running out of column
     bits.


U compile.c
Index: compile.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/compile.c,v
retrieving revision 1.151
retrieving revision 1.151.2.1
diff -u -d -r1.151 -r1.151.2.1
--- compile.c   8 May 2008 20:13:20 -0000       1.151
+++ compile.c   28 May 2008 11:37:14 -0000      1.151.2.1
@@ -149,21 +149,21 @@
 
     status->standoff_axis_steps = false;
 
-    status->opt_alg             = "OIKDCG_VGO_[J]OKVCGN"
-                                      "}IM__{_[J]OKVCG"
-                                      "}IM__{_[J]OKVCGCG"
-                                      "}IM__{_[J]OKVCG"
-                                      "}IMTS{_[J]OKVCGCG"
-                                      "}IMTS{_[J]OKVCG"
-                                      "}IMTS{_[J]OKVCGE[]CGP";
-    status->opt_sql             = "OIKDCG_VGO_[J]OKVCGN"
-                                      "}IM__{_[J]OKVCG"
-                                      "}IM__{_[J]OKVCGCG"
-                                      "}IM__{_[J]OKVCG"
-                                      "}IMTS{_[J]OKVCGUCG"
-                                      "}IMTS{_[J]OKVCGU"
-                                      "}IMTS{_[J]OKVCGUE[]CGP"
-                                      "}IQ[J]}IQ[J]IOKVCGQUCGP";
+    status->opt_alg             = "OIKDCG_VGO_[JI]OKVCGN"
+                                      "}IM__{_[JI]OKVCG"
+                                      "}IM__{_[JI]OKVCGCG"
+                                      "}IM__{_[JI]OKVCG"
+                                      "}IMTS{_[JI]OKVCGCG"
+                                      "}IMTS{_[JI]OKVCG"
+                                      "}IMTS{_[JI]OKVCGE[]CGP";
+    status->opt_sql             = "OIKDCG_VGO_[JI]OKVCGN"
+                                      "}IM__{_[JI]OKVCG"
+                                      "}IM__{_[JI]OKVCGCG"
+                                      "}IM__{_[JI]OKVCG"
+                                      "}IMTS{_[JI]OKVCGUCG"
+                                      "}IMTS{_[JI]OKVCGU"
+                                      "}IMTS{_[JI]OKVCGUE[]CGP"
+                                      "}IQ[JI]}IQ[JI]IOKVCGQUCGP";
 
     status->format              = NULL;
     status->genType             = "xml";


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to