Changeset: 84b713b6251e for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=84b713b6251e Added Files: sql/backends/monet5/Tests/pyapi30.sql Branch: pythonloader Log Message:
test case diffs (24 lines): diff --git a/sql/backends/monet5/Tests/pyapi30.sql b/sql/backends/monet5/Tests/pyapi30.sql new file mode 100644 --- /dev/null +++ b/sql/backends/monet5/Tests/pyapi30.sql @@ -0,0 +1,19 @@ + +START TRANSACTION; + +CREATE TABLE mytable(i DOUBLE, d STRING); + +CREATE LOADER myfunc() LANGUAGE PYTHON { + emit({'i':42,'d':'hello'}) +}; + +SELECT * FROM functions WHERE name='myfunc'; + +EXPLAIN COPY INTO mytable FROM LOADER myfunc(); + +COPY INTO mytable FROM LOADER myfunc(); + +DROP TABLE mytable; +DROP LOADER myfunc; + +ROLLBACK; _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list