Update of /cvsroot/monetdb/MonetDB5/src/modules/mal/Tests
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv21074/Tests
Added Files:
bpm10.mal
Log Message:
Primitive for re-organization of a single segment after selection.
--- NEW FILE: bpm10.mal ---
function gen(n:int):bat[:oid,:int];
r:=bat.new(:oid,:int);
barrier (go,i):=language.newRange(0:int);
bat.append(r,i);
redo (go,i):= language.nextElement(1:int,n);
exit (go,i);
return r;
end gen;
r:=gen(600);
s:=bat.getSpaceUsed(r);
ra:= bpm.deposit("myr",r);
bpm.dump();
r1:=bpm.take(ra,1);
rs:=algebra.uselect(r1,nil:int,250);
bpm.adapt(r1,nil:int,250,rs);
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins