Changeset: 699644797a7d for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=699644797a7d
Modified Files:
        sql/backends/monet5/sql_gencode.c
Branch: RIntegration
Log Message:

call rapi.eval_aggr for aggregates (requires both the needed cases (aggr and 
grouped aggr interfaces!)


diffs (24 lines):

diff --git a/sql/backends/monet5/sql_gencode.c 
b/sql/backends/monet5/sql_gencode.c
--- a/sql/backends/monet5/sql_gencode.c
+++ b/sql/backends/monet5/sql_gencode.c
@@ -2444,8 +2444,18 @@ static int
 backend_create_r_func(backend *be, sql_func *f)
 {
        (void)be;
-       f->mod = "rapi";
-       f->imp = "eval";
+       switch(f->type) {
+       case  F_AGGR:
+               f->mod = "rapi";
+               f->imp = "eval_aggr";
+               break;
+       case  F_PROC: /* no output */
+       case  F_FUNC:
+       default: /* ie also F_FILT and F_UNION for now */
+               f->mod = "rapi";
+               f->imp = "eval";
+               break;
+       }
        return 0;
 }
 
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to