Update of /cvsroot/monetdb/sql/src/test/copy/Tests
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv28694/src/test/copy/Tests
Modified Files:
All
Added Files:
load_incorrect_line_nr.dat load_incorrect_line_nr.sql.in
load_incorrect_line_nr.stable.err
load_incorrect_line_nr.stable.out
Log Message:
switched to using parallel loader only. Also for non file case.
Still some tests fail, but we want the same rules for csv data for
both files and stream input.
--- NEW FILE: load_incorrect_line_nr.stable.out ---
stdout of test 'load_incorrect_line_nr` in directory 'src/test/copy` itself:
# 16:52:10 >
# 16:52:10 > mserver5
"--config=/ufs/niels/scratch/monetdb/Linux-x86_64/etc/monetdb5.conf" --debug=10
--set gdk_nr_threads=4 --set
"monet_mod_path=/ufs/niels/scratch/monetdb/Linux-x86_64/lib/MonetDB5:/ufs/niels/scratch/monetdb/Linux-x86_64/lib/MonetDB5/lib:/ufs/niels/scratch/monetdb/Linux-x86_64/lib/MonetDB5/bin"
--set "gdk_dbfarm=/ufs/niels/scratch/monetdb/Linux-x86_64/var/MonetDB5/dbfarm"
--set mapi_open=true --set xrpc_open=true --set mapi_port=32084 --set
xrpc_port=49530 --set monet_prompt= --trace "--dbname=mTests_src_test_copy"
--set mal_listing=0 "--dbinit= include sql;" ; echo ; echo Over..
# 16:52:10 >
# MonetDB server v5.13.0, based on kernel v1.31.0
# Serving database 'mTests_src_test_copy', using 4 threads
# Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs dynamically linked
# Copyright (c) 1993-July 2008 CWI.
# Copyright (c) August 2008-2009 MonetDB B.V., all rights reserved
# Visit http://monetdb.cwi.nl/ for further information
# Listening for connection requests on mapi:monetdb://alf.ins.cwi.nl:32084/
# MonetDB/SQL module v2.31.0 loaded
Ready.
#function user.main():void;
# clients.quit();
#end main;
Over..
# 16:52:10 >
# 16:52:10 > mclient -lsql -umonetdb -Pmonetdb --host=alf --port=32084
# 16:52:10 >
# COPY reader time 24
# COPY thread time 40
# COPY thread time 0
# COPY thread time 0
# COPY thread time 0
[ 1 ]
% sys.number # table_name
% isanumber # name
% int # type
% 1 # length
[ 1 ]
# 16:52:10 >
# 16:52:10 > Done.
# 16:52:10 >
--- NEW FILE: load_incorrect_line_nr.stable.err ---
stderr of test 'load_incorrect_line_nr` in directory 'src/test/copy` itself:
# 16:52:10 >
# 16:52:10 > mserver5
"--config=/ufs/niels/scratch/monetdb/Linux-x86_64/etc/monetdb5.conf" --debug=10
--set gdk_nr_threads=4 --set
"monet_mod_path=/ufs/niels/scratch/monetdb/Linux-x86_64/lib/MonetDB5:/ufs/niels/scratch/monetdb/Linux-x86_64/lib/MonetDB5/lib:/ufs/niels/scratch/monetdb/Linux-x86_64/lib/MonetDB5/bin"
--set "gdk_dbfarm=/ufs/niels/scratch/monetdb/Linux-x86_64/var/MonetDB5/dbfarm"
--set mapi_open=true --set xrpc_open=true --set mapi_port=32084 --set
xrpc_port=49530 --set monet_prompt= --trace "--dbname=mTests_src_test_copy"
--set mal_listing=0 "--dbinit= include sql;" ; echo ; echo Over..
# 16:52:10 >
# builtin opt gdk_arch = 64bitx86_64-unknown-linux-gnu
# builtin opt gdk_version = 1.31.0
# builtin opt prefix = /ufs/niels/scratch/monetdb/Linux-x86_64
# builtin opt exec_prefix = ${prefix}
# builtin opt gdk_dbname = tst
# builtin opt gdk_dbfarm = ${prefix}/var/MonetDB
# builtin opt gdk_debug = 8
# builtin opt gdk_alloc_map = yes
# builtin opt gdk_vmtrim = yes
# builtin opt monet_admin = adm
# builtin opt monet_prompt = >
# builtin opt monet_welcome = yes
# builtin opt monet_mod_path = ${exec_prefix}/lib/MonetDB
# builtin opt monet_daemon = yes
# builtin opt host = localhost
# builtin opt mapi_port = 50000
# builtin opt mapi_noheaders = no
# builtin opt mapi_debug = 0
# builtin opt mapi_clients = 2
# builtin opt sql_debug = 0
# builtin opt sql_logdir = sql_logs
# builtin opt xquery_logdir = xquery_logs
# builtin opt standoff_ns = http://monetdb.cwi.nl/standoff
# builtin opt standoff_start = start
# builtin opt standoff_end = end
# config opt prefix = /ufs/niels/scratch/monetdb/Linux-x86_64
# config opt config = ${prefix}/etc/monetdb5.conf
# config opt prefix = /ufs/niels/scratch/monetdb/Linux-x86_64
# config opt exec_prefix = ${prefix}
# config opt gdk_dbfarm = ${prefix}/var/MonetDB5/dbfarm
# config opt gdk_dbname = demo
# config opt gdk_alloc_map = no
# config opt gdk_embedded = no
# config opt gdk_debug = 0
# config opt monet_mod_path =
${exec_prefix}/lib/MonetDB5:${exec_prefix}/lib/MonetDB5/lib:${exec_prefix}/lib/MonetDB5/bin
# config opt monet_daemon = no
# config opt monet_welcome = yes
# config opt mero_msglog = ${prefix}/var/log/MonetDB/merovingian.log
# config opt mero_errlog = ${prefix}/var/log/MonetDB/merovingian.log
# config opt mero_pidfile = ${prefix}/var/run/MonetDB/merovingian.pid
# config opt mal_init = ${exec_prefix}/lib/MonetDB5/mal_init.mal
# config opt mal_listing = 2
# config opt mapi_port = 50000
# config opt mapi_autosense = false
# config opt mapi_open = false
# config opt sql_optimizer =
inline,remap,evaluate,costModel,coercions,emptySet,cluster,aliases,mergetable,deadcode,constants,commonTerms,joinPath,deadcode,reduce,garbageCollector,dataflow,history,multiplex
# cmdline opt config =
/ufs/niels/scratch/monetdb/Linux-x86_64/etc/monetdb5.conf
# cmdline opt gdk_nr_threads = 4
# cmdline opt monet_mod_path =
/ufs/niels/scratch/monetdb/Linux-x86_64/lib/MonetDB5:/ufs/niels/scratch/monetdb/Linux-x86_64/lib/MonetDB5/lib:/ufs/niels/scratch/monetdb/Linux-x86_64/lib/MonetDB5/bin
# cmdline opt gdk_dbfarm =
/ufs/niels/scratch/monetdb/Linux-x86_64/var/MonetDB5/dbfarm
# cmdline opt mapi_open = true
# cmdline opt xrpc_open = true
# cmdline opt mapi_port = 32084
# cmdline opt xrpc_port = 49530
# cmdline opt monet_prompt =
# cmdline opt gdk_dbname = mTests_src_test_copy
# cmdline opt mal_listing = 0
#warning: please don't forget to set your vault key!
#(see /ufs/niels/scratch/monetdb/Linux-x86_64/etc/monetdb5.conf)
# 16:52:10 >
# 16:52:10 > mclient -lsql -umonetdb -Pmonetdb --host=alf --port=32084
# 16:52:10 >
MAPI = mone...@alf:32084
QUERY = COPY 2 RECORDS INTO "number" FROM
'/net/alf.ins.cwi.nl/export/scratch1/niels/monetdb/sql/src/test/copy/Tests/load_incorrect_line_nr.dat'
USING DELIMITERS ';', '\n';
ERROR = !SQLException:sql:value 'bla' while parsing 'bla' from line 2 field 1
not inserted, expecting type int
# 16:52:10 >
# 16:52:10 > Done.
# 16:52:10 >
U All
Index: All
===================================================================
RCS file: /cvsroot/monetdb/sql/src/test/copy/Tests/All,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- All 28 Dec 2008 09:58:47 -0000 1.2
+++ All 7 Aug 2009 15:49:31 -0000 1.3
@@ -2,3 +2,5 @@
null_as_string_errors
null_as_string_output
int_parse
+load_incorrect_line_nr
+load_stdin_incorrect_line_nr
--- NEW FILE: load_incorrect_line_nr.sql.in ---
CREATE TABLE "sys"."number" (
"isanumber" int
);
COPY 2 RECORDS INTO "number" FROM '$TSTSRCDIR/load_incorrect_line_nr.dat' USING
DELIMITERS ';', '\n';
select * from "number";
drop table "number";
--- NEW FILE: load_incorrect_line_nr.dat ---
1
bla
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins