Re: [Monetdb-developers] Simple bat operations

2007-10-12 Thread darabi
Kambiz - Original Message - From: [EMAIL PROTECTED] To: monetdb-developers@lists.sourceforge.net Cc: "Martin Kersten" <[EMAIL PROTECTED]> Sent: Freitag, 12. Oktober 2007 17.05 Uhr (GMT+0100) Europe/Berlin Subject: Re: [Monetdb-developers] Simple bat operations > A more inf

Re: [Monetdb-developers] Simple bat operations

2007-10-12 Thread darabi
> A more informative error mesage might help --- from a user's point of view, > variable 'b' has been initialized before it is used. I would second that. > In fact, the above > b:bat[:int,:int] := bbp.bind("test"); > is wrong --- or at least implies a silent cast from :oid to :int of the >

Re: [Monetdb-developers] Simple bat operations

2007-10-12 Thread Martin Kersten
Stefan Manegold wrote: > On Thu, Oct 11, 2007 at 06:02:12PM +0200, Martin Kersten wrote: > >>> On 11-10-2007 17:45:46 +0200, [EMAIL PROTECTED] wrote: >>> > [...] > However, I have found one solution to my problem; if I type the left hand side, everything works: mal

Re: [Monetdb-developers] Simple bat operations

2007-10-12 Thread Stefan Manegold
On Thu, Oct 11, 2007 at 06:02:12PM +0200, Martin Kersten wrote: > > On 11-10-2007 17:45:46 +0200, [EMAIL PROTECTED] wrote: [...] > >> However, I have found one solution to my problem; if I type the left > >> hand side, everything works: > >> > >> mal>b:bat[:int,:int] := bbp.bind("test"); > >>

Re: [Monetdb-developers] Simple bat operations

2007-10-12 Thread Fabian Groffen
On 12-10-2007 15:22:37 +0200, Niels Nes wrote: > On Fri, Oct 12, 2007 at 03:23:09PM +0200, Fabian Groffen wrote: > > On 12-10-2007 15:17:39 +0200, Stefan Manegold wrote: > > > > > I will recompile without --enable-optimise. > > > > > > > > Try --enable-debug to make sure you aren't bitten by an in

Re: [Monetdb-developers] Simple bat operations

2007-10-12 Thread Niels Nes
On Fri, Oct 12, 2007 at 03:23:09PM +0200, Fabian Groffen wrote: > On 12-10-2007 15:17:39 +0200, Stefan Manegold wrote: > > > > I will recompile without --enable-optimise. > > > > > > Try --enable-debug to make sure you aren't bitten by an insane default of > > > --enable-optimise=yes. > > > > Jus

Re: [Monetdb-developers] Simple bat operations

2007-10-12 Thread Fabian Groffen
On 12-10-2007 15:17:39 +0200, Stefan Manegold wrote: > > > I will recompile without --enable-optimise. > > > > Try --enable-debug to make sure you aren't bitten by an insane default of > > --enable-optimise=yes. > > Just for the sake of correctness of information: > > --enable-debug does not dis

Re: [Monetdb-developers] Simple bat operations

2007-10-12 Thread Stefan Manegold
On Thu, Oct 11, 2007 at 05:57:31PM +0200, Fabian Groffen wrote: > On 11-10-2007 17:45:46 +0200, [EMAIL PROTECTED] wrote: > > Fabian, > > > > thank you. I seem to remember that I didn't use --enable-optimise as it > > was advertised to take longer than the normal build. > > > > However, I have fou

Re: [Monetdb-developers] Simple bat operations

2007-10-12 Thread Fabian Groffen
On 12-10-2007 15:16:46 +0200, Fabian Groffen wrote: > On 12-10-2007 15:11:34 +0200, Stefan Manegold wrote: > > Obviously, having .mx.in files in the CVS sources does not make much sense, > > at least not in combination with source distributions (tarballs). > > > > ... > > > > Not that "obvious" -

Re: [Monetdb-developers] Simple bat operations

2007-10-12 Thread Fabian Groffen
On 12-10-2007 15:11:34 +0200, Stefan Manegold wrote: > Obviously, having .mx.in files in the CVS sources does not make much sense, > at least not in combination with source distributions (tarballs). > > ... > > Not that "obvious" --- well, maybe a short recap of the build process helps: > > 1) @

Re: [Monetdb-developers] Simple bat operations

2007-10-12 Thread Stefan Manegold
On Thu, Oct 11, 2007 at 07:46:02PM +0200, Fabian Groffen wrote: > On 11-10-2007 19:28:28 +0200, [EMAIL PROTECTED] wrote: > > Haha! > > > > that was a good joke: > > > > > > [EMAIL PROTECTED] mserver5 --version > > > > MonetDB Server v5.0.0 > > > > Copyright (c) 1993-2007 CWI, all rights reserved

Re: [Monetdb-developers] Simple bat operations

2007-10-11 Thread darabi
> b) or there must be a way of storing the type information in other BATs Did I already apologise for my dumb questions? :-) I found bbp.getNames, getHeadType, getTailType and I think I see how I could extract the necessary information with them. However, the question remains as how to create a

Re: [Monetdb-developers] Simple bat operations

2007-10-11 Thread Kambiz Darabi
Hello Martin, > >> However, I have found one solution to my problem; if I type the left > >> hand side, everything works: > >> > >> mal>b:bat[:int,:int] := bbp.bind("test"); > >> > yes that is necessary. In general the type of the bind can not be known. > and MAL requires strongly typed inst

Re: [Monetdb-developers] Simple bat operations

2007-10-11 Thread Fabian Groffen
On 11-10-2007 19:28:28 +0200, [EMAIL PROTECTED] wrote: > Haha! > > that was a good joke: > > > > [EMAIL PROTECTED] mserver5 --version > > > MonetDB Server v5.0.0 > > > Copyright (c) 1993-2007 CWI, all rights reserved > > > Compiled by: [EMAIL PROTECTED] > > > Compilation: gcc -O2 -std=c99 -O6 -fo

Re: [Monetdb-developers] Simple bat operations

2007-10-11 Thread darabi
Haha! that was a good joke: > > [EMAIL PROTECTED] mserver5 --version > > MonetDB Server v5.0.0 > > Copyright (c) 1993-2007 CWI, all rights reserved > > Compiled by: [EMAIL PROTECTED] > > Compilation: gcc -O2 -std=c99 -O6 -fomit-frame-pointer > >-finline-functions -falign

Re: [Monetdb-developers] Simple bat operations

2007-10-11 Thread darabi
-developers@lists.sourceforge.net Sent: Donnerstag, 11. Oktober 2007 17.45 Uhr (GMT+0100) Europe/Berlin Subject: Re: [Monetdb-developers] Simple bat operations Fabian, thank you. I seem to remember that I didn't use --enable-optimise as it was advertised to take longer than the normal build. Howev

Re: [Monetdb-developers] Simple bat operations

2007-10-11 Thread Martin Kersten
Fabian Groffen wrote: > On 11-10-2007 17:45:46 +0200, [EMAIL PROTECTED] wrote: > >> Fabian, >> >> thank you. I seem to remember that I didn't use --enable-optimise as it >> was advertised to take longer than the normal build. >> >> However, I have found one solution to my problem; if I type the

Re: [Monetdb-developers] Simple bat operations

2007-10-11 Thread Fabian Groffen
On 11-10-2007 17:45:46 +0200, [EMAIL PROTECTED] wrote: > Fabian, > > thank you. I seem to remember that I didn't use --enable-optimise as it > was advertised to take longer than the normal build. > > However, I have found one solution to my problem; if I type the left > hand side, everything wor

Re: [Monetdb-developers] Simple bat operations

2007-10-11 Thread darabi
et Sent: Donnerstag, 11. Oktober 2007 17.45 Uhr (GMT+0100) Europe/Berlin Subject: Re: [Monetdb-developers] Simple bat operations On 11-10-2007 17:09:22 +0200, [EMAIL PROTECTED] wrote: > I have downloaded and compiled MonetDB-Mars-SuperBall-SR3.tar.bz2 on an Ubuntu > i686 single cpu sys

Re: [Monetdb-developers] Simple bat operations

2007-10-11 Thread Fabian Groffen
On 11-10-2007 17:09:22 +0200, [EMAIL PROTECTED] wrote: > I have downloaded and compiled MonetDB-Mars-SuperBall-SR3.tar.bz2 on an Ubuntu > i686 single cpu system running a 2.6.20 kernel. ... > [EMAIL PROTECTED] mserver5 --version > MonetDB Server v5.0.0 > Copyright (c) 1993-2007 CWI, all rights re

Re: [Monetdb-developers] Simple bat operations

2007-10-11 Thread darabi
[EMAIL PROTECTED] Sent: Donnerstag, 11. Oktober 2007 16.24 Uhr (GMT+0100) Europe/Berlin Subject: Re: [Monetdb-developers] Simple bat operations On Thu, Oct 11, 2007 at 02:34:15PM +0200, [EMAIL PROTECTED] wrote: > In the meantime, I have also tried all the bbp functions which > I could thin

Re: [Monetdb-developers] Simple bat operations

2007-10-11 Thread darabi
PROTECTED] To: monetdb-developers@lists.sourceforge.net Cc: "Niels Nes" <[EMAIL PROTECTED]> Sent: Donnerstag, 11. Oktober 2007 9.47 Uhr (GMT+0100) Europe/Berlin Subject: Re: [Monetdb-developers] Simple bat operations Niels, thank you very much for your help. How can I access

Re: [Monetdb-developers] Simple bat operations

2007-10-11 Thread darabi
iginal Message - From: "Niels Nes" To: [EMAIL PROTECTED] Cc: monetdb-developers@lists.sourceforge.net Sent: Donnerstag, 11. Oktober 2007 9.38 Uhr (GMT+0100) Europe/Berlin Subject: Re: [Monetdb-developers] Simple bat operations On Thu, Oct 11, 2007 at 08:00:36AM +0200, darabi... wrote

Re: [Monetdb-developers] Simple bat operations

2007-10-11 Thread Niels Nes
On Thu, Oct 11, 2007 at 08:00:36AM +0200, [EMAIL PROTECTED] wrote: > Hello, > > sorry for asking so many dumb questions, but I don't seem > to be able to find the answers in the docs. > > I try to create and persist a bat: > > (mclient -d demo -l mal) > > n := bat.new(:oid,:str); > bat.setName(

[Monetdb-developers] Simple bat operations

2007-10-11 Thread Kambiz Darabi
Hello, sorry for asking so many dumb questions, but I don't seem to be able to find the answers in the docs. I try to create and persist a bat: (mclient -d demo -l mal) n := bat.new(:oid,:str); bat.setName(n, "person_name"); bat.setPersistent(n, true); bat.append(n, "John", true); bat.append(n

[Monetdb-developers] Simple bat operations

2007-10-10 Thread darabi
Hello, sorry for asking so many dumb questions, but I don't seem to be able to find the answers in the docs. I try to create and persist a bat: (mclient -d demo -l mal) n := bat.new(:oid,:str); bat.setName(n, "person_name"); bat.setPersistent(n, true); bat.append(n, "John", true); bat.append(n