Changeset: 6c21d18634c7 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=6c21d18634c7 Added Files: sql/test/BugTracker-2017/Tests/groupby_assertion.Bug-6338.stable.err sql/test/BugTracker-2017/Tests/groupby_assertion.Bug-6338.stable.out Modified Files: sql/test/BugTracker-2017/Tests/lateral.Bug-6310.stable.err sql/test/BugTracker-2017/Tests/lateral.Bug-6310.stable.out Branch: default Log Message:
approved output after recent fixes diffs (179 lines): diff --git a/sql/test/BugTracker-2017/Tests/groupby_assertion.Bug-6338.stable.err b/sql/test/BugTracker-2017/Tests/groupby_assertion.Bug-6338.stable.err new file mode 100644 --- /dev/null +++ b/sql/test/BugTracker-2017/Tests/groupby_assertion.Bug-6338.stable.err @@ -0,0 +1,34 @@ +stderr of test 'groupby_assertion.Bug-6338` in directory 'sql/test/BugTracker-2017` itself: + + +# 16:45:10 > +# 16:45:10 > "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" "mapi_open=true" "--set" "mapi_port=39210" "--set" "mapi_usock=/var/tmp/mtest-16821/.s.monetdb.39210" "--set" "monet_prompt=" "--forcemito" "--dbpath=/home/niels/scratch/rc-clean/Linux-x86_64/var/MonetDB/mTests_sql_test_BugTracker-2017" +# 16:45:10 > + +# builtin opt gdk_dbpath = /home/niels/scratch/rc-clean/Linux-x86_64/var/monetdb5/dbfarm/demo +# builtin opt gdk_debug = 0 +# builtin opt gdk_vmtrim = no +# builtin opt monet_prompt = > +# builtin opt monet_daemon = no +# builtin opt mapi_port = 50000 +# builtin opt mapi_open = false +# builtin opt mapi_autosense = false +# builtin opt sql_optimizer = default_pipe +# builtin opt sql_debug = 0 +# cmdline opt gdk_nr_threads = 0 +# cmdline opt mapi_open = true +# cmdline opt mapi_port = 39210 +# cmdline opt mapi_usock = /var/tmp/mtest-16821/.s.monetdb.39210 +# cmdline opt monet_prompt = +# cmdline opt gdk_dbpath = /home/niels/scratch/rc-clean/Linux-x86_64/var/MonetDB/mTests_sql_test_BugTracker-2017 +# cmdline opt gdk_debug = 536870922 + +# 16:45:11 > +# 16:45:11 > "mclient" "-lsql" "-ftest" "-tnone" "-Eutf-8" "-i" "-e" "--host=/var/tmp/mtest-16821" "--port=39210" +# 16:45:11 > + + +# 16:45:11 > +# 16:45:11 > "Done." +# 16:45:11 > + diff --git a/sql/test/BugTracker-2017/Tests/groupby_assertion.Bug-6338.stable.out b/sql/test/BugTracker-2017/Tests/groupby_assertion.Bug-6338.stable.out new file mode 100644 --- /dev/null +++ b/sql/test/BugTracker-2017/Tests/groupby_assertion.Bug-6338.stable.out @@ -0,0 +1,72 @@ +stdout of test 'groupby_assertion.Bug-6338` in directory 'sql/test/BugTracker-2017` itself: + + +# 16:45:10 > +# 16:45:10 > "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" "mapi_open=true" "--set" "mapi_port=39210" "--set" "mapi_usock=/var/tmp/mtest-16821/.s.monetdb.39210" "--set" "monet_prompt=" "--forcemito" "--dbpath=/home/niels/scratch/rc-clean/Linux-x86_64/var/MonetDB/mTests_sql_test_BugTracker-2017" +# 16:45:10 > + +# MonetDB 5 server v11.28.0 +# This is an unreleased version +# Serving database 'mTests_sql_test_BugTracker-2017', using 4 threads +# Compiled for x86_64-unknown-linux-gnu/64bit with 128bit integers +# Found 7.330 GiB available main-memory. +# Copyright (c) 1993-July 2008 CWI. +# Copyright (c) August 2008-2017 MonetDB B.V., all rights reserved +# Visit https://www.monetdb.org/ for further information +# Listening for connection requests on mapi:monetdb://localhost.nes.nl:39210/ +# Listening for UNIX domain connection requests on mapi:monetdb:///var/tmp/mtest-16821/.s.monetdb.39210 +# MonetDB/GIS module loaded +# MonetDB/SQL module loaded + +Ready. + +# 16:45:11 > +# 16:45:11 > "mclient" "-lsql" "-ftest" "-tnone" "-Eutf-8" "-i" "-e" "--host=/var/tmp/mtest-16821" "--port=39210" +# 16:45:11 > + +#create table sources ( +# src_id string primary key, +# src_owner string , +# src_name string not null, +# src_alias string not null, +# src_count integer default -1, +# src_query string, +# src_created timestamp with time zone default now +#); +#create table source_attr ( +# sat_id string , +# sat_index integer not null, +# sat_name string not null, +# sat_alias string not null, +# sat_nulls integer , +# sat_distincts integer, +# sat_type string, +# sat_mass string +#); +#CREATE TABLE source_ac_0(i integer, j integer, k integer); +#INSERT INTO source_ac_0 VALUES(0,1,6),(2,3,7),(4,5,8); +[ 3 ] +#SELECT * FROM source_ac_0; +% sys.source_ac_0, sys.source_ac_0, sys.source_ac_0 # table_name +% i, j, k # name +% int, int, int # type +% 1, 1, 1 # length +[ 0, 1, 6 ] +[ 2, 3, 7 ] +[ 4, 5, 8 ] +#INSERT INTO sources VALUES ('src_0', 'ac_0', 'source_ac_0', 'source_ac_0', (select count(*) from source_ac_0), '',now()); +[ 1 ] +#insert into source_attr select 'src_0', +# (select count(*) from source_attr where sat_id = 'source_ac_0'), +# c.name,c.name, +# (select count(*) from source_ac_0 where c.name is null), +# (select count(distinct c.name) from source_ac_0), +# c.type,null +# from sys.tables as T, sys.columns as C +# where T.id = C.table_id and T.name = 'source_ac_0'; +[ 0 ] + +# 16:45:11 > +# 16:45:11 > "Done." +# 16:45:11 > + diff --git a/sql/test/BugTracker-2017/Tests/lateral.Bug-6310.stable.err b/sql/test/BugTracker-2017/Tests/lateral.Bug-6310.stable.err --- a/sql/test/BugTracker-2017/Tests/lateral.Bug-6310.stable.err +++ b/sql/test/BugTracker-2017/Tests/lateral.Bug-6310.stable.err @@ -27,27 +27,6 @@ stderr of test 'lateral.Bug-6310` in dir # 16:49:27 > "mclient" "-lsql" "-ftest" "-Eutf-8" "-i" "-e" "--host=/var/tmp/mtest-31693" "--port=34067" # 16:49:27 > -MAPI = (monetdb) /var/tmp/mtest-31693/.s.monetdb.34067 -QUERY = select - ref_0.message as c0 - from - sys.rejects as ref_0, - lateral (select - (select name from sys.objects) - as c0 - from - sys.args as sample_1 - right join tmp._columns as ref_4 - inner join sys.part as ref_6 - inner join sys.types as sample_5 - on (ref_6.p_comment = sample_5.systemname ) - right join sys.netcdf_vars as ref_7 - on (sample_5.digits = ref_7.var_id ) - on (ref_4.name = sample_5.systemname ) - right join sys.user_role as sample_8 - inner join sys.partsupp as ref_10 -ERROR = !Cardinality violation, scalar value expected -CODE = 21000 # 16:49:27 > # 16:49:27 > "Done." diff --git a/sql/test/BugTracker-2017/Tests/lateral.Bug-6310.stable.out b/sql/test/BugTracker-2017/Tests/lateral.Bug-6310.stable.out --- a/sql/test/BugTracker-2017/Tests/lateral.Bug-6310.stable.out +++ b/sql/test/BugTracker-2017/Tests/lateral.Bug-6310.stable.out @@ -40,6 +40,28 @@ Ready. # PS_COMMENT VARCHAR(199) NOT NULL, # PRIMARY KEY (PS_PARTKEY,PS_SUPPKEY), # FOREIGN KEY (PS_PARTKEY) references PART ); +#select +# ref_0.message as c0 +#from +# sys.rejects as ref_0, +# lateral (select +# (select name from sys.objects) +# as c0 +# from +# sys.args as sample_1 +# right join tmp._columns as ref_4 +# inner join sys.part as ref_6 +# inner join sys.types as sample_5 +# on (ref_6.p_comment = sample_5.systemname ) +# right join sys.netcdf_vars as ref_7 +# on (sample_5.digits = ref_7.var_id ) +# on (ref_4.name = sample_5.systemname ) +# right join sys.user_role as sample_8 +# inner join sys.partsupp as ref_10 +% .L13 # table_name +% c0 # name +% clob # type +% 0 # length # 16:49:27 > # 16:49:27 > "Done." _______________________________________________ checkin-list mailing list [email protected] https://www.monetdb.org/mailman/listinfo/checkin-list
