Update of /cvsroot/monetdb/pathfinder/compiler/algebra/map
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv29486/algebra/map
Modified Files:
intro_proxy.c intro_thetajoin.c map_ori_names.c
map_unq_names.c
Log Message:
- Implement pf:product(), pf:log() and pf:sqrt() for the algebra version.
There is one remaining problem pf:product(()) returns 0 instead of 1.
U intro_proxy.c
Index: intro_proxy.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/map/intro_proxy.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- intro_proxy.c 28 Jan 2009 21:01:41 -0000 1.47
+++ intro_proxy.c 10 Mar 2009 12:20:39 -0000 1.48
@@ -145,6 +145,7 @@
case la_max:
case la_min:
case la_sum:
+ case la_prod:
case la_count:
case la_rank:
case la_type:
U intro_thetajoin.c
Index: intro_thetajoin.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/map/intro_thetajoin.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- intro_thetajoin.c 8 Jan 2009 16:54:09 -0000 1.26
+++ intro_thetajoin.c 10 Mar 2009 12:20:40 -0000 1.27
@@ -423,6 +423,7 @@
case la_max:
case la_min:
case la_sum:
+ case la_prod:
case la_seqty1:
case la_all:
diff (BOOL_COLS(n), n->sem.aggr.res);
U map_ori_names.c
Index: map_ori_names.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/map/map_ori_names.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- map_ori_names.c 8 Jan 2009 16:54:09 -0000 1.42
+++ map_ori_names.c 10 Mar 2009 12:20:40 -0000 1.43
@@ -498,6 +498,7 @@
case la_max:
case la_min:
case la_sum:
+ case la_prod:
res = aggr (p->kind, PROJ(LEFT, p),
ONAME(p, p->sem.aggr.res),
ONAME(p, p->sem.aggr.col),
U map_unq_names.c
Index: map_unq_names.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/algebra/map/map_unq_names.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- map_unq_names.c 8 Jan 2009 16:54:09 -0000 1.41
+++ map_unq_names.c 10 Mar 2009 12:20:40 -0000 1.42
@@ -486,6 +486,7 @@
case la_max:
case la_min:
case la_sum:
+ case la_prod:
res = aggr (p->kind, U(L(p)),
UNAME(p, p->sem.aggr.res),
/* column col is stored only in child operator */
------------------------------------------------------------------------------
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins