Changeset: 1a5573e6cdc6 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/1a5573e6cdc6
Modified Files:
        sql/backends/monet5/bin_partition_by_slice.c
Branch: pp_hashjoin
Log Message:

improved partitioning with sums


diffs (11 lines):

diff --git a/sql/backends/monet5/bin_partition_by_slice.c 
b/sql/backends/monet5/bin_partition_by_slice.c
--- a/sql/backends/monet5/bin_partition_by_slice.c
+++ b/sql/backends/monet5/bin_partition_by_slice.c
@@ -1210,6 +1210,7 @@ rel2bin_groupby_pp(backend *be, sql_rel 
                                                n = pushArgument(be->mb, n, 
getArg(mp, 0));
                                                n = pushArgument(be->mb, n, 
getArg(rem, 0));
                                                pushInstruction(be->mb, n);
+                                               m = m->next; /* skip count */
                                                mp = n;
                                        } else if (strcmp(sf->func->base.name, 
"avg") == 0 && EC_APPNUM(tpe->type->eclass)) {
                                                m = m->next;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to