You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Date: 2014-09-26 16:01:41 +0200
From: Martin van Dinther <<martin.van.dinther>>
To: SQL devs <>
Version: 11.17.21 (Jan2014-SP3)
CC: @njnes
Last updated: 2014-10-31 14:14:30 +0100
Comment 20201
Date: 2014-09-26 16:01:41 +0200
From: Martin van Dinther <<martin.van.dinther>>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0
Build Identifier:
Assertion failure when trying to drop aggregate median for a second time.
Reproducible: Always
Steps to Reproduce:
Start mserver5
Start mclient
executing SQL comands:
SELECT median(val) FROM (SELECT 1.0 as val UNION ALL SELECT 2.0) as t;
DROP AGGREGATE median(double);
SELECT median(val) FROM (SELECT 1.0 as val UNION ALL SELECT 2.0) as t;
DROP AGGREGATE median(double);
SELECT median(val) FROM (SELECT 1.0 as val UNION ALL SELECT 2.0) as t;
Actual Results:
builtin opt gdk_dbpath = /ufs/dinther/MonetDB201408/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 mapi_port = 49000
MonetDB 5 server v11.17.21 "Jan2014-SP3"
Serving database 'demo', using 8 threads
Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs dynamically linked
Found 15.356 GiB available main-memory.
Copyright (c) 1993-July 2008 CWI.
Copyright (c) August 2008-2014 MonetDB B.V., all rights reserved
Visit http://www.monetdb.org/ for further information
Listening for connection requests on mapi:monetdb://127.0.0.1:49000/
MonetDB/GIS module loaded
MonetDB/JAQL module loaded
MonetDB/SQL module loaded
Bulk operator required for str.stringleft
Bulk operator required for str.stringleft
Bulk operator required for user.columnsize
Bulk operator required for user.heapsize
Bulk operator required for user.indexsize
Bulk operator required for str.stringleft
Bulk operator required for str.stringleft
mserver5: store.c:3610: sys_drop_func: Assertion `rid_func != oid_nil' failed.
./mserver5.sh: line 4: 11254 Aborted ./MonetDB201408/bin/mserver5 -d10 --set mapi_port=49000
bash-4.2$
bash-4.2$ mclient -p 49000
Welcome to mclient, the MonetDB/SQL interactive terminal (unreleased)
Database: MonetDB v11.17.21 (Jan2014-SP3), 'demo'
Type \q to quit, ? for a list of available commands
auto commit mode: on
sql>SELECT median(val) FROM (SELECT 1.0 as val UNION ALL SELECT 2.0) as t;
+--------------------------+
| L2 |
+==========================+
| 1 |
+--------------------------+
1 tuple (0.997ms)
sql>DROP AGGREGATE median(double);
operation successful (28.850ms)
sql>SELECT median(val) FROM (SELECT 1.0 as val UNION ALL SELECT 2.0) as t;
+--------------------------+
| L2 |
+==========================+
| 1 |
+--------------------------+
1 tuple (0.950ms)
sql>DROP AGGREGATE median(double);
sql>SELECT median(val) FROM (SELECT 1.0 as val UNION ALL SELECT 2.0) as t;
bash-4.2$
Expected Results:
no assertion failure. Error msg that AGGREGATE median does not exist:
DROP AGGREGATE: no such aggregate 'median' (double(53))
we dropped the wrong function (structure), ie (other median). Therefor the structure of this median(double) could be found again, but the id was already removed from the functions table.
Date: 2014-09-26 16:01:41 +0200
From: Martin van Dinther <<martin.van.dinther>>
To: SQL devs <>
Version: 11.17.21 (Jan2014-SP3)
CC: @njnes
Last updated: 2014-10-31 14:14:30 +0100
Comment 20201
Date: 2014-09-26 16:01:41 +0200
From: Martin van Dinther <<martin.van.dinther>>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0
Build Identifier:
Assertion failure when trying to drop aggregate median for a second time.
Reproducible: Always
Steps to Reproduce:
SELECT median(val) FROM (SELECT 1.0 as val UNION ALL SELECT 2.0) as t;
DROP AGGREGATE median(double);
SELECT median(val) FROM (SELECT 1.0 as val UNION ALL SELECT 2.0) as t;
DROP AGGREGATE median(double);
SELECT median(val) FROM (SELECT 1.0 as val UNION ALL SELECT 2.0) as t;
Actual Results:
builtin opt gdk_dbpath = /ufs/dinther/MonetDB201408/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 mapi_port = 49000
MonetDB 5 server v11.17.21 "Jan2014-SP3"
Serving database 'demo', using 8 threads
Compiled for x86_64-unknown-linux-gnu/64bit with 64bit OIDs dynamically linked
Found 15.356 GiB available main-memory.
Copyright (c) 1993-July 2008 CWI.
Copyright (c) August 2008-2014 MonetDB B.V., all rights reserved
Visit http://www.monetdb.org/ for further information
Listening for connection requests on mapi:monetdb://127.0.0.1:49000/
MonetDB/GIS module loaded
MonetDB/JAQL module loaded
MonetDB/SQL module loaded
bash-4.2$ mclient -p 49000
Welcome to mclient, the MonetDB/SQL interactive terminal (unreleased)
Database: MonetDB v11.17.21 (Jan2014-SP3), 'demo'
Type \q to quit, ? for a list of available commands
auto commit mode: on
sql>SELECT median(val) FROM (SELECT 1.0 as val UNION ALL SELECT 2.0) as t;
+--------------------------+
| L2 |
+==========================+
| 1 |
+--------------------------+
1 tuple (0.997ms)
sql>DROP AGGREGATE median(double);
operation successful (28.850ms)
sql>SELECT median(val) FROM (SELECT 1.0 as val UNION ALL SELECT 2.0) as t;
+--------------------------+
| L2 |
+==========================+
| 1 |
+--------------------------+
1 tuple (0.950ms)
sql>DROP AGGREGATE median(double);
sql>SELECT median(val) FROM (SELECT 1.0 as val UNION ALL SELECT 2.0) as t;
bash-4.2$
Expected Results:
no assertion failure. Error msg that AGGREGATE median does not exist:
DROP AGGREGATE: no such aggregate 'median' (double(53))
Comment 20211
Date: 2014-09-28 16:16:21 +0200
From: @njnes
we dropped the wrong function (structure), ie (other median). Therefor the structure of this median(double) could be found again, but the id was already removed from the functions table.
Comment 20375
Date: 2014-10-31 14:14:30 +0100
From: @sjoerdmullender
Oct2014 has been released.
The text was updated successfully, but these errors were encountered: