On Mon, Dec 29, 2008 at 04:50:00PM +0000, Romulo Goncalves wrote:
> Update of /cvsroot/monetdb/sql/src/test/Skyserver
> In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv383
>
> Modified Files:
> Skyserver_import.sql Skyserver_tables.sql
> Log Message:
> Correct some copy from statements to make the test green
> At the same time remove some NULL constraints from the columns because "" is now seen as NULL
IMHO, "" (i.e., an empty string of length 0) is *not* NULL --- but I don't
know, whether the SQL standard has a different "opinion" ...
Stefan
>
>
>
> U Skyserver_tables.sql
> Index: Skyserver_tables.sql
> ===================================================================
> RCS file: /cvsroot/monetdb/sql/src/test/Skyserver/Skyserver_tables.sql,v
> retrieving revision 1.4
> retrieving revision 1.5
> diff -u -d -r1.4 -r1.5
> --- Skyserver_tables.sql 1 Apr 2008 11:45:51 -0000 1.4
> +++ Skyserver_tables.sql 29 Dec 2008 16:49:58 -0000 1.5
> @@ -451,7 +451,7 @@
> eta float NOT NULL,
> lambdaMin float NOT NULL,
> lambdaMax float NOT NULL,
> - htmArea varchar(1024) NOT NULL,
> + htmArea varchar(1024), --NOT NULL,
> CONSTRAINT pk_StripeDefs_stripe PRIMARY KEY
> (
> stripe
> @@ -1155,11 +1155,11 @@
> );
> CREATE TABLE DBColumns(
> tablename varchar(128) NOT NULL,
> - name varchar(64) NOT NULL,
> - unit varchar(64) NOT NULL,
> - ucd varchar(128) NOT NULL,
> - enum varchar(64) NOT NULL,
> - description varchar(2000) NOT NULL,
> + name varchar(64), -- NOT NULL,
> + unit varchar(64), -- NOT NULL,
> + ucd varchar(128), --NOT NULL,
> + enum varchar(64), -- NOT NULL,
> + description varchar(2000),-- NOT NULL,
> rank int NOT NULL DEFAULT (0),
> CONSTRAINT pk_DBColumns_tableName_name PRIMARY KEY
> (
>
> U Skyserver_import.sql
> Index: Skyserver_import.sql
> ===================================================================
> RCS file: /cvsroot/monetdb/sql/src/test/Skyserver/Skyserver_import.sql,v
> retrieving revision 1.3
> retrieving revision 1.4
> diff -u -d -r1.3 -r1.4
> --- Skyserver_import.sql 6 Jun 2008 11:54:58 -0000 1.3
> +++ Skyserver_import.sql 29 Dec 2008 16:49:58 -0000 1.4
> @@ -60,7 +60,7 @@
>
> COPY 1000 RECORDS INTO SDSSConstants FROM 'DATA/SDSSConstants1.dat.bz2' USING DELIMITERS '|', '\015\n';
>
> -COPY 1000 RECORDS INTO StripeDefs FROM 'DATA/StripeDefs1.dat.bz2' USING DELIMITERS '\t', '\015\n';
> +COPY 1000 RECORDS INTO StripeDefs FROM 'DATA/StripeDefs1.dat.bz2' USING DELIMITERS '\t', '\015\n', '"' NULL as '';
>
> COPY 1000 RECORDS INTO RunShift FROM 'DATA/RunShift.dat.bz2' USING DELIMITERS '\t', '\015\n';
>
> @@ -116,7 +116,7 @@
>
> COPY 1000 RECORDS INTO Inventory FROM 'DATA/Inventory.dat.bz2' USING DELIMITERS '\t', '\015\n';
>
> -COPY 3000 RECORDS INTO DBColumns FROM 'DATA/DBColumns1.dat.bz2' USING DELIMITERS '\t', '\015\n';
> +COPY 3000 RECORDS INTO DBColumns FROM 'DATA/DBColumns1.dat.bz2' USING DELIMITERS '\t', '\015\n', '"' NULL as '';
>
> COPY 1000 RECORDS INTO DBViewCols FROM 'DATA/DBViewCols.dat.bz2' USING DELIMITERS '\t', '\015\n';
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Monetdb-sql-checkins mailing list
> Monetdb-sql-checkins(a)lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins
>
--
| Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl |
| CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ |
| 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 |
| The Netherlands | Fax : +31 (20) 592-4312 |
On Sat, Dec 27, 2008 at 05:08:39PM +0000, Romulo Goncalves wrote:
> Update of /cvsroot/monetdb/sql/src/server
> In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv19272
>
> Modified Files:
> Tag: Nov2008
> sql_schema.mx
> Log Message:
> It seems it is also broken in the stable...
> If you drop a constraint like a primary key make sure there are no dependencies on it...
>
> Note: Do not propagate this check in... it was already done in the current branch...
if the changes are identical (i.e., made using cvs commands), propagation
will notice this and silently accept the identical changes (i.e., not try to
do them again).
see also `man cvs` and pages 8-16 (in particular pages 13-15) of
http://homepages.cwi.nl/~manegold/Presentations/MonetDBdevTTT.pdf
Stefan
>
> U sql_schema.mx
> Index: sql_schema.mx
> ===================================================================
> RCS file: /cvsroot/monetdb/sql/src/server/sql_schema.mx,v
> retrieving revision 1.152.2.1
> retrieving revision 1.152.2.2
> diff -u -d -r1.152.2.1 -r1.152.2.2
> --- sql_schema.mx 14 Nov 2008 13:48:40 -0000 1.152.2.1
> +++ sql_schema.mx 27 Dec 2008 17:08:37 -0000 1.152.2.2
> @@ -1695,6 +1695,8 @@
> assert(l->h->next->type == type_int);
> if ((key = mvc_bind_key(sql, ss, kname )) == NULL)
> return sql_error(sql, 02, "cannot drop unknown constraint %s\n", kname);
> + if (!drop_action && mvc_check_dependency(sql, key->base.id, KEY_DEPENDENCY, NULL))
> + return sql_error(sql, 02, "unable to drop constraint %s (there are database objects which depend on it)\n", key->base.name);
> mvc_drop_key(sql, ss, key, drop_action);
> res = stmt_none();
> } break;
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Monetdb-sql-checkins mailing list
> Monetdb-sql-checkins(a)lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins
>
>
--
| Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl |
| CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ |
| 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 |
| The Netherlands | Fax : +31 (20) 592-4312 |
Wouter,
On Tue, Dec 23, 2008 at 10:40:57AM +0000, Wouter Alink wrote:
> Update of /cvsroot/monetdb/pathfinder/tests/StandOff
> In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv29912
>
> Modified Files:
> StandOff.py
> Log Message:
> - this commit switches StandOff testing towards Algebra-backend
was/is it you intension to force all StandOff testing though the Algebra
back-end (added "-A" option for pf; see below), i.e., ignoring/overruling
the compile time default / choice (whch is indeed the Algebra back-end) as
well as the choice on the Mtest.py command line?
If so, why? Does MPS not longer support StandOff (or v.v.)?
If not, you should remove the "-A" swicth for pf, again.
> - observation: order of attributes seems to have changed in some
> tests, the testoutput has been changed accordingly
Serialization in MonetDB/XQuery has not feature (yet?) to enforce a
particular attribute order.
The order of attributes is only determined by the very implementation and
(physical) order of input data, and can hence change.
If it happens to differe between the MPS & ALG back-end for (some) StandOff
tests, we could consider approving back-end specific (ALG or MPS) stable
output for these tests.
(See `Mtest.py --help` and/or
http://monetdb.cwi.nl/Development/TestWeb/Mtest/ for details and/or feel
free to ask for advice/help.)
Stefan
> - the "video/artists" test still fails, due to incorrect order
> of the elements in the result. this test needs more investigation
>
>
> U StandOff.py
> Index: StandOff.py
> ===================================================================
> RCS file: /cvsroot/monetdb/pathfinder/tests/StandOff/StandOff.py,v
> retrieving revision 1.10
> retrieving revision 1.11
> diff -u -d -r1.10 -r1.11
> --- StandOff.py 15 Feb 2008 18:34:11 -0000 1.10
> +++ StandOff.py 23 Dec 2008 10:40:55 -0000 1.11
> @@ -27,7 +27,7 @@
> TSTSRCDIR = os.environ['TSTSRCDIR']
> PF = os.environ['PF']
>
> -CALL = '%s -b "%s.xq" | %s --set standoff=enabled --dbname=%s "--dbinit=module(pathfinder);"' % (PF,os.path.join(TSTSRCDIR,TST),MSERVER,TSTDB)
> +CALL = '%s -bA "%s.xq" | %s --set standoff=enabled --dbname=%s "--dbinit=module(pathfinder);"' % (PF,os.path.join(TSTSRCDIR,TST),MSERVER,TSTDB)
>
> import sys, time
> Mlog = "\n%s %s\n\n" % (time.strftime('# %H:%M:%S >',time.localtime(time.time())), CALL)
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Monetdb-pf-checkins mailing list
> Monetdb-pf-checkins(a)lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins
>
>
--
| Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl |
| CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ |
| 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 |
| The Netherlands | Fax : +31 (20) 592-4312 |
Hi,
I have the following message when configure testing( updated at 12.45h)
checking for perl... /usr/bin/perl
checking perl.h usability... no
checking perl.h presence... yes
configure: WARNING: perl.h: present but cannot be compiled
configure: WARNING: perl.h: check for missing prerequisite headers?
configure: WARNING: perl.h: see the Autoconf documentation
configure: WARNING: perl.h: section "Present But Cannot Be Compiled"
configure: WARNING: perl.h: proceeding with the preprocessor's result
configure: WARNING: perl.h: in the future, the compiler will take precedence
configure: WARNING: ## --------------------------- ##
configure: WARNING: ## Report this to monet(a)cwi.nl ##
configure: WARNING: ## --------------------------- ##
checking for perl.h... yes
I also got (in src, build)
find: perl.h: No such file or directory
The hanging recycle test shows the following:
13:04:59> src/mal/recycle01.mal (<=60,60,60) ... 0.075s
recycle01.stable.out.FILTERED and recycle01.test.out.FILTERED are equal.
recycle01.stable.err.FILTERED and recycle01.test.err.FILTERED are equal.
No differences encountered during testing.
If necessary, you can checkin your modifications, now.
Exception in thread Thread-3 (most likely raised during interpreter
shutdown):
Traceback (most recent call last):
File "/usr/lib64/python2.5/threading.py", line 460, in __bootstrap
File "/usr/lib64/python2.5/threading.py", line 623, in run
File "/usr/lib64/python2.5/threading.py", line 364, in wait
File "/usr/lib64/python2.5/threading.py", line 238, in wait
<type 'exceptions.ValueError'>: list.remove(x): x not in list
Unhandled exception in thread started by
Error in sys.excepthook:
Original exception was:
Milena
Where is the stable output? There is no sense running a test if there
is no stable output.
Romulo Goncalves wrote:
> Update of /cvsroot/monetdb/sql/src/test/BugTracker-2008/Tests
> In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv15432
>
> Modified Files:
> Tag: Nov2008
> All
> Added Files:
> Tag: Nov2008
> is_distinct_broken.SF-2430201.sql
> Log Message:
> Add test to cover bug:
> is_distinct_broken.SF-2430201
>
> Note: Please do not propagate this check in. It was already checked in current cvs branch ;)
>
>
> U All
> Index: All
> ===================================================================
> RCS file: /cvsroot/monetdb/sql/src/test/BugTracker-2008/Tests/All,v
> retrieving revision 1.6.2.8
> retrieving revision 1.6.2.9
> diff -u -d -r1.6.2.8 -r1.6.2.9
> --- All 19 Nov 2008 10:39:51 -0000 1.6.2.8
> +++ All 15 Dec 2008 10:04:26 -0000 1.6.2.9
> @@ -30,3 +30,4 @@
> count_with_order_by_and_limit_crashes.SF-2229936
> sql_command_kills_db.SF-2233677
> between_no_columns.SF2102101
> +is_distinct_broken.SF-2430201
>
> --- NEW FILE: is_distinct_broken.SF-2430201.sql ---
> create table way_tags (way int, k int);
> insert into way_tags values(23950375,1);
> insert into way_tags values(23950375,1);
> insert into way_tags values(23950375,1);
> insert into way_tags values(23950375,1);
> insert into way_tags values(23950375,1);
> insert into way_tags values(24644162,1);
> insert into way_tags values(24644162,1);
> insert into way_tags values(24644162,1);
>
> select distinct way from way_tags group by way, k having count(*) > 1;
>
> drop table way_tags;
>
> select distinct (select 10 union all select 10);
>
> select distinct a from (select 10 as a union all select 10 as a) as b;
>
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you. Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> Monetdb-sql-checkins mailing list
> Monetdb-sql-checkins(a)lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins
--
Sjoerd Mullender