Bugs item #1919631, was opened at 2008-03-19 15:04
Message generated for change (Settings changed) made by boncz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1919631&group_id=56967
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: MonetDB5 CVS Head
>Status: Open
Resolution: Invalid
Priority: 5
Private: No
Submitted By: Peter Boncz (boncz)
Assigned to: Martin Kersten (mlkersten)
Summary: MAL command resolution: BAT signatures with :any
Initial Comment:
not knowing about the MAL pattern
bbp.bind(:str) :bat[any::1,any::2]
I tried the MAL command
bat5.load(:str) :bat[any::1,any::2]
though the implementation and signature of that command appear to be fully
correct, bat5.load() always give a type mismatch error whatever you do.
So, the problem is not so much bat5.load(), but (I assume) the function
resolution of any MAL command that has :any::x or BAT[:any::x,:any::y] in its
signature.
----------------------------------------------------------------------
Comment By: Peter Boncz (boncz)
Date: 2008-03-19 16:49
Message:
Logged In: YES
user_id=591107
Originator: YES
I was providing the correct types. Did you try it?
----------------------------------------------------------------------
Comment By: Martin Kersten (mlkersten)
Date: 2008-03-19 16:42
Message:
Logged In: YES
user_id=490798
Originator: NO
MAL requires that all arguments are strongly typed.
you have to type the result variable upfront, e.g.
b:bat[:oid,:str]:= bat.load("mybat");
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1919631&group_id=56967
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs