Hi,
Sometimes I get !MALException:setScenario:Scenario not initialized 'sql'
from the server when I try to start it in scenarios that usually work
without any problems. I can't reproduce it consistently, but sometimes I get
it. What does this exception mean?
Thanks.
--
View this message in context: http://www.nabble.com/Meaning-of%3A-Scenario-not-initialized-%27sql%27-tp26…
Sent from the monetdb-users mailing list archive at Nabble.com.
Hi,
I've installed monetdb on *Ubuntu 9.04 Server* with apt-get. These are
the contents of php client
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/php5-monetdb-client
/usr/share/doc/php5-monetdb-client/changelog.Debian.gz
/usr/share/doc/php5-monetdb-client/copyright
I need the moduels, where are they? Thanks. Dariusz.
Hi There,
I have some problem with the row_number() over() function.
Consider the following table:
create table "table1" ("customer" varchar(40), "product" varchar(40),
"price" double)
insert into "table1" values ('cust1', 'p1', 100)
insert into "table1" values ('cust1', 'p2', 200)
insert into "table1" values ('cust1', 'p3', 150)
insert into "table1" values ('cust2', 'p1', 300)
insert into "table1" values ('cust2', 'p3', 200)
The following query over this table:
SELECT "customer",
"product",
"sumprice",
(Row_number() OVER(PARTITION BY "customer" ORDER BY "sumprice")) as
"rank"
FROM ( SELECT "customer",
"product",
(Sum("price")) AS "sumprice"
FROM "table1"
GROUP BY "customer",
"product") AS "temp"
Returns:
Customer product sumprice rank
Cust1 p1 100 1
Cust1 p2 200 2
Cust1 p3 150 3
Cust2 p1 300 1
Cust2 p3 200 2
But doesn’t it suppose to return the following result set?:
Customer product sumprice rank
Cust1 p1 100 1
Cust1 p3 150 2
Cust1 p2 200 3
Cust2 p3 200 1
Cust2 p1 200 2
Thanks
--
Leonard Forgge
--
View this message in context: http://www.nabble.com/Possible-wrong-results-when-Querying-tp22821802p22821…
Sent from the monetdb-users mailing list archive at Nabble.com.
Hi,
I installed MonetDB on Vista and am experiencing issues with the COPY
utility and uploading text. Text that comes from CVS files and looks plain
in Notepad generates errors like this one:
*!SQLException:sql:value '505' while parsing '505,787,
!SQLException:importTable:failed to import table*
Is it possible I installed Monet without UTF-8 support?
How can I check? How can I fix it?
Hi,
Is there a way to convert a month number to its name?
For example, I am executing the following statement: EXTRACT(MONTH FROM
signup_date), but I want "1" to display as "January".
Thanks.
Hi,
Could someone please point out to me what is wrong with the way I am using
the COPY utility?
Here is what I typed:
COPY 2 RECORDS
INTO my_table FROM (C:\MyDir\MyFile.txt)
USING DELIMITERS
field_separator ','
record_separator ',';
I got this error:
*!syntax error, unexpected IDENT, expecting STRING in: "copy 2 records
!into my_table from (c"
0 tuples*
Hi,
I am using Aug09-SP1 on Windows from CVS.
While working with MonetDB my computer stopped responding, so I shut it down
forcefully.
Then after restarting, I couldn't start my dbfarm. The server is saying:
!ERROR: BBPinit: old BBP without version number
!ERROR: dump the database using a compatible version,
!ERROR: then restore into new database using this version.
How can I save my data? Or is it forever unusable?
Thanks.
--
View this message in context: http://www.nabble.com/dbfarm-unusable-after-computer-crash-tp26078901p26078…
Sent from the monetdb-users mailing list archive at Nabble.com.
Hi!
Is there an example how to load a blob with the mapilib?
I'm using mapi_query_array, after calling there is an assertion failure
in Mapi.mx on line 3373, it works for small blobs (I tried with 4, 8
bytes) but not with a 4kB picture.
Thanks,
Wilfried
Hello!
For some testing purposes, I created a file with 63.158.399 rows and
tried to load it into a table with following structure:
create table logtest (
id bigint,
dim_year smallint,
dim_month smallint,
dim_day smallint,
dim_hour smallint,
dim_min smallint,
dim_sec smallint
);
I loaded the data in pieces of 20.000.000 rows with the 'copy into'
command. At the last 3158399 there was an error, the connection to the
server terminated, the server crashed.
I restarted the server and the error message
ERROR: HEAPextend: failed to extend to 480000000 for 01\14\11401tail
was displayed. I tried to restart again, but its not possible anymore,
the server immediatly returns and there is no error message...
C:\MonetDB\MonetDB5>MSQLserver.bat
# MonetDB server v5.14.2, based on kernel v1.32.2
# Serving database 'demo', using 1 thread
# Compiled for i686-pc-win32/32bit with 32bit 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
#warning: please don't forget to set your vault key!
#(see C:\MonetDB\MonetDB5\etc\monetdb5.conf)
# Listening for connection requests on mapi:monetdb://127.0.0.1:50000/
# MonetDB/SQL module v2.32.2 loaded
I know I can reinstall the server, but I would like to know the
problem. Are there too much rows for the logtest table? There are
about 10 other tables in the database, with 10 - 100 rows. As you can
see from above, I'm using windows vista, 32 bit...
The current size of the dbfarm folder is 1,52 GB, and the size of the
file I tried to load is 1,72 GB.
Thank you,
Wilfried