Changeset: 36d6f77476f2 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=36d6f77476f2
Modified Files:
        monetdb5/optimizer/opt_mergetable.c
Branch: Jun2020
Log Message:

Don't push thetajoin through mitosis.
It might be save if thetajoin is used for equals, but not for the
other operations.


diffs (15 lines):

diff --git a/monetdb5/optimizer/opt_mergetable.c 
b/monetdb5/optimizer/opt_mergetable.c
--- a/monetdb5/optimizer/opt_mergetable.c
+++ b/monetdb5/optimizer/opt_mergetable.c
@@ -1958,6 +1958,11 @@ OPTmergetableImplementation(Client cntxt
                        TRC_INFO(MAL_OPTIMIZER, "Mergetable bailout semijoin 
ref\n");
                        bailout = 1;
                }
+               if (getModuleId(p) == algebraRef &&
+                   getFunctionId(p) == thetajoinRef ) {
+                       TRC_INFO(MAL_OPTIMIZER, "Mergetable bailout thetajoin 
ref\n");
+                       bailout = 1;
+               }
                if (isSample(p)) {
                        bailout = 1;
                }
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to