Changeset: 5903a8254265 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=5903a8254265 Modified Files: sql/backends/monet5/Tests/rapi12.sql Branch: pyapi Log Message:
Table-in/out test case diffs (19 lines): diff --git a/sql/backends/monet5/Tests/rapi12.sql b/sql/backends/monet5/Tests/rapi12.sql --- a/sql/backends/monet5/Tests/rapi12.sql +++ b/sql/backends/monet5/Tests/rapi12.sql @@ -7,6 +7,7 @@ SELECT * FROM observations; CREATE FUNCTION widetolong(subject int, age int, height int, weight int) RETURNS TABLE (subject int, key string, value int) LANGUAGE R { dd <- data.frame(subject, age, height, weight) + if (length(subject) < 2) stop("What do we want? Vectorization! When do we want it? Now!") do.call(rbind, lapply(split(dd, dd$subject), function(split) data.frame( @@ -36,3 +37,6 @@ SELECT * FROM widetolong( (SELECT * FROM DROP FUNCTION widetolong; DROP TABLE observations; ROLLBACK; + + +# hooray for breakpoint set --file opt_remap.c --line 350 --condition 'p->modname > 0 && (int)strcmp(p->modname,"batmal") == 0' \ No newline at end of file _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list