Bugs item #1960373, was opened at 2008-05-08 18:08
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1960373&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: MonetDB Common 1.22
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Sjoerd Mullender (sjoerd)
Assigned to: Nobody/Anonymous (nobody)
Summary: kunion and nil
Initial Comment:
mil>var a := new(void,oid).append(oid(nil)).append([EMAIL PROTECTED]).tunique();
mil>a.info().find("hkey").print();
[ "1" ]
mil>var b := kunion(a,a);
mil>b.info().find("hkey").print();
[ "1" ]
mil>b.print();
#-----------------#
# h t # name
# oid void # type
#-----------------#
[ nil, nil ]
[ [EMAIL PROTECTED], nil ]
[ nil, nil ]
If run with debugmask 10, BATpropcheck complains about b having hkey set.
The questions are:
- is tunique right in setting hkey, even in the presence of a nil?
- is kunion right in producing three values (since nil != nil)?
- is kunion right in setting hkey (again since nil != nil)?
- is BATpropcheck right in complaining that hkey is set (since nil = nil, or
perhaps because hkey should never be set in the presence of nils)?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1960373&group_id=56967
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs