
I have a question about remote.exec(). Let's say I have a user function, s1_1 that takes a BAT as a parameter and returns a BAT. Its signature might be: function user.s1_1(in:bat[:oid,:int]):bat[:oid,:int]; How can I call s1_1 using remote.exec to pass in a BAT and to retrieve the result? I want to do something like X_2 := remote.exec(conn, "user", "s1_1", X_1); where X_1 and X_2 are both :bat[:oid,:int]. But that doesn't seem to work. Thanks, Steve Morgan

Hi, I would like to add a new sub-directory to /monetdb5/extras/ so that: 1. the configure process generates Makefiles for it and 2. it gets built when "make" is invoke in the top source directory. Thanks in advance. Chi ________________________________ From: Stephen P. Morgan <stephen_p_morgan@sbcglobal.net> To: developers-list@monetdb.org Sent: Thursday, March 21, 2013 12:06 PM Subject: Question in re remote.exec() I have a question about remote.exec(). Let's say I have a user function, s1_1 that takes a BAT as a parameter and returns a BAT. Its signature might be: function user.s1_1(in:bat[:oid,:int]):bat[:oid,:int]; How can I call s1_1 using remote.exec to pass in a BAT and to retrieve the result? I want to do something like X_2 := remote.exec(conn, "user", "s1_1", X_1); where X_1 and X_2 are both :bat[:oid,:int]. But that doesn't seem to work. Thanks, Steve Morgan _______________________________________________ developers-list mailing list developers-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/developers-list

Hi, you have to edit monetdb5/extras/Makefile.ag appending to variable SUBDIRS the name of the directory you want to add. For example, if you want to add directory "foo", given that the value of SUBDIRS was HAVE_RAPTOR?rdf HAVE_SPHINXCLIENT?sphinx HAVE_JAQL?jaql mal_optimizer_template the new value for SUBDIRS should be HAVE_RAPTOR?rdf HAVE_SPHINXCLIENT?sphinx HAVE_JAQL?jaql mal_optimizer_template foo Of course, this way you should run de-bootstrap and bootstrap again. Notice, that you have to specify also another Makefile.ag in monetdb5/extras/foo for taking care of the compilation of your code. However, I don't see any connection of your question to the message you replied to. Babis On Thu, Mar 21, 2013 at 7:35 PM, Chi-Young Ku <chi@querymetrica.com> wrote:
Hi,
I would like to add a new sub-directory to /monetdb5/extras/ so that:
1. the configure process generates Makefiles for it and
2. it gets built when "make" is invoke in the top source directory.
Thanks in advance.
Chi
________________________________ From: Stephen P. Morgan <stephen_p_morgan@sbcglobal.net> To: developers-list@monetdb.org Sent: Thursday, March 21, 2013 12:06 PM Subject: Question in re remote.exec()
I have a question about remote.exec(). Let's say I have a user function, s1_1 that takes a BAT as a parameter and returns a BAT. Its signature might be:
function user.s1_1(in:bat[:oid,:int]):bat[:oid,:int];
How can I call s1_1 using remote.exec to pass in a BAT and to retrieve the result? I want to do something like
X_2 := remote.exec(conn, "user", "s1_1", X_1);
where X_1 and X_2 are both :bat[:oid,:int]. But that doesn't seem to work.
Thanks,
Steve Morgan
_______________________________________________ developers-list mailing list developers-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/developers-list
_______________________________________________ developers-list mailing list developers-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/developers-list

Hi Babis, Thanks a lot for your help! I am able to get the foo directory compiled and built lib_foo.la. But, when I attatch GDB to the mserver5 process and try to set a breakpoint in foo.test(), I got an error saying foo.test() is not loaded. Have I missed anything? Chi ________________________________ From: Charalampos Nikolaou <charnik@di.uoa.gr> To: Communication channel for developers of the MonetDB suite. <developers-list@monetdb.org> Sent: Thursday, March 21, 2013 3:04 PM Subject: Re: How would I add a new directory to /monetdb5/extras/ Hi, you have to edit monetdb5/extras/Makefile.ag appending to variable SUBDIRS the name of the directory you want to add. For example, if you want to add directory "foo", given that the value of SUBDIRS was HAVE_RAPTOR?rdf HAVE_SPHINXCLIENT?sphinx HAVE_JAQL?jaql mal_optimizer_template the new value for SUBDIRS should be HAVE_RAPTOR?rdf HAVE_SPHINXCLIENT?sphinx HAVE_JAQL?jaql mal_optimizer_template foo Of course, this way you should run de-bootstrap and bootstrap again. Notice, that you have to specify also another Makefile.ag in monetdb5/extras/foo for taking care of the compilation of your code. However, I don't see any connection of your question to the message you replied to. Babis On Thu, Mar 21, 2013 at 7:35 PM, Chi-Young Ku <chi@querymetrica.com> wrote:
Hi,
I would like to add a new sub-directory to /monetdb5/extras/ so that:
1. the configure process generates Makefiles for it and
2. it gets built when "make" is invoke in the top source directory.
Thanks in advance.
Chi
________________________________ From: Stephen P. Morgan <stephen_p_morgan@sbcglobal.net> To: developers-list@monetdb.org Sent: Thursday, March 21, 2013 12:06 PM Subject: Question in re remote.exec()
I have a question about remote.exec(). Let's say I have a user function, s1_1 that takes a BAT as a parameter and returns a BAT. Its signature might be:
function user.s1_1(in:bat[:oid,:int]):bat[:oid,:int];
How can I call s1_1 using remote.exec to pass in a BAT and to retrieve the result? I want to do something like
X_2 := remote.exec(conn, "user", "s1_1", X_1);
where X_1 and X_2 are both :bat[:oid,:int]. But that doesn't seem to work.
Thanks,
Steve Morgan
_______________________________________________ developers-list mailing list developers-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/developers-list
_______________________________________________ developers-list mailing list developers-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/developers-list
_______________________________________________ developers-list mailing list developers-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/developers-list
participants (3)
-
Charalampos Nikolaou
-
Chi-Young Ku
-
Stephen P. Morgan