Bugs item #1960373, was opened at 2008-05-08 18:08
Message generated for change (Comment added) made by sjoerd
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.24
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Sjoerd Mullender (sjoerd)
>Assigned to: Peter Boncz (boncz)
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)?

----------------------------------------------------------------------

>Comment By: Sjoerd Mullender (sjoerd)
Date: 2008-06-05 16:22

Message:
Logged In: YES 
user_id=43607
Originator: YES

Peter, I'd like you to give your opinion on this issue.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1960373&group_id=56967

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to