Changeset: 953b48adb11a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/953b48adb11a
Modified Files:
monetdb5/optimizer/opt_dict.c
Branch: dict
Log Message:
handle group.*
diffs (21 lines):
diff --git a/monetdb5/optimizer/opt_dict.c b/monetdb5/optimizer/opt_dict.c
--- a/monetdb5/optimizer/opt_dict.c
+++ b/monetdb5/optimizer/opt_dict.c
@@ -149,7 +149,16 @@ OPTdictImplementation(Client cntxt, MalB
pushInstruction(mb,r);
done = 1;
break;
-
+ } else if (getModuleId(p) == groupRef &&
+ (getFunctionId(p) ==
subgroupRef || getFunctionId(p) == subgroupdoneRef ||
+ getFunctionId(p) == groupRef
|| getFunctionId(p) == groupdoneRef)) {
+ /* group.group[done](col) |
group.subgroup[done](col, grp) with col = dict.decompress(o,u)
+ * v1 = group.group[done](o) |
group.subgroup[done](o, grp) */
+ InstrPtr r = copyInstruction(p);
+ getArg(r, j) = varisdict[k];
+ pushInstruction(mb,r);
+ done = 1;
+ break;
} else {
/* need to decompress */
int tpe = getArgType(mb, p, j);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list