Bugs item #1712595, was opened at 2007-05-04 11:59
Message generated for change (Settings changed) made by boncz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1712595&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: PF/runtime
Group: Pathfinder CVS Head
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Maurice van Keulen (mvankeulen)
>Assigned to: Peter Boncz (boncz)
Summary: Error mposjoin: missing matches

Initial Comment:
[milprint_summer backend]

Query below fails for attached document
declare function deep-equal($node1 as node(), $node2 as node())
   as xs:boolean
{
   let $e1 := $node1/descendant-or-self::element()
      ,$e2 := $node2/descendant-or-self::element()
   return
      if (count($e1) eq count($e2))
      then let $e1s := for $e in $e1 return ($e/name(),$e/string())
              ,$e2s := for $e in $e2 return ($e/name(),$e/string())
           return string-join($e1s,",") eq string-join($e2s,",")
      else false()
};

let $doc := doc("imdb2.xml")
return deep-equal(<a>{$doc}</a>,<a>{$doc}</a>)

Error message is:

ERROR = !ERROR: mposjoin: missing matches. The result requires the same number 
of tuples as the first two input arguments: 2 < 20.
        !ERROR: CMDmposjoin: operation failed.

Mserver -d10 does not provide any additional info.

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

Comment By: Stefan Manegold (stmane)
Date: 2007-05-04 19:34

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

[ I assume, this has been discovered with the pathfinder CVS head, right?
]

Added test in
pathfinder/tests/BugTracker/Tests/mposjoin_missing_matches.SF-1712595.*

It does fail as reported.


! correct/expected output still needs to be provided/approved !


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

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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to