Bugs item #1216457, was opened at 2005-06-07 15:14
Message generated for change (Settings changed) made by nielsnes
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1216457&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: MonetDB4 CVS Head
>Status: Closed
Resolution: Rejected
Priority: 5
Private: No
Submitted By: Marcin Zukowski (e-r00)
>Assigned to: Niels Nes (nielsnes)
Summary: outerjoin doesn\'t preserve void anymore

Initial Comment:
Take a look at this:
var x:=new(void,int).seqbase([EMAIL PROTECTED]);
x.insert(nil,0).insert(nil,2).insert(nil,1);

var y:=new(int,chr);
y.insert(0,'0').insert(2,'2').insert(1,'1');

x.outerjoin(y).print();
# h     t         # name
# oid   chr       # type
#-----------------#
[ [EMAIL PROTECTED],    0       ]
[ [EMAIL PROTECTED],    2       ]
[ [EMAIL PROTECTED],    1       ]

As you can see, head in the outerjoin result is not
void-headed.

I'm pretty sure it used to be some time ago, so
something must have been changed.

If y's head is sorted, void is preserved, if that helps



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

Comment By: Marcin Zukowski (e-r00)
Date: 2006-12-20 13:53

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

Added a test, please close if appropriate.


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

Comment By: SourceForge Robot (sf-robot)
Date: 2006-12-20 03:20

Message:
Logged In: YES 
user_id=1312539
Originator: NO

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 365 days (the time period specified by
the administrator of this Tracker).

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

Comment By: Stefan Manegold (stmane)
Date: 2005-12-19 17:09

Message:
Logged In: YES 
user_id=572415

BugDay_2005-12-19, stmane: POSTPONED / REMINDER:

although the bug report was rejected, we might want to add a
test to show/monitor the current behaviour (both, with y's
head sorted and unsorted)...


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

Comment By: Fabian (mr-meltdown)
Date: 2005-12-19 09:04

Message:
Logged In: YES 
user_id=963970

BugDay_2005-12-19, meltdown: NO TEST / REJECTED

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

Comment By: Niels Nes (nielsnes)
Date: 2005-06-07 16:57

Message:
Logged In: YES 
user_id=43556

The outerjoin does keep void heads. But this requires
BAThkey(y). As this isn't kept in BUNins this fails. For
sorted heads this is checked, which explains why outerjoin
keeps voids when y's head is sorted.

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

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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to