Bugs item #1981852, was opened at 2008-06-02 10:49
Message generated for change (Comment added) made by stmane
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1981852&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/tests
Group: Pathfinder 0.24
Status: Open
Resolution: None
Priority: 6
Private: No
Submitted By: Stefan Manegold (stmane)
Assigned to: Sjoerd Mullender (sjoerd)
Summary: PF/alg: test immune_for_updates.SF-1766259 fails

Initial Comment:
With the Algebra back-end, test 
pathfinder/Tests/BugTracker/immune_for_updates.SF-1766259.xq.in fails with

ERROR = !ERROR: ordered left and right head columns (iters) expected.

http://monetdb.cwi.nl/testing/projects/monetdb/Stable/pathfinder/.mTestsG103/GNU.64.64.d-Fedora8/tests_BugTracker/immune_for_updates.SF-1766259.err.00.html

Since the test uses fn:subsequence(), this might be related to
[ 1981800 ] PF/alg: fn:subsequence() returns empty result
https://sourceforge.net/tracker/index.php?func=detail&aid=1981800&group_id=56967&atid=482468


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

>Comment By: Stefan Manegold (stmane)
Date: 2008-06-03 16:22

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

extended test for debugging

before the
"let $todo := subsequence(doc("prepared49736.data")/XIRAF/item[*],
1281,256) ..." update query,
the updated document seems to have the same status with both MPS & ALG;
after this update query, the status with ALG differs from the one with
MPS,
resulting in the error with ALG in the 
"let $todo := subsequence(doc("prepared49736.data")/XIRAF/item[*],
1537,256)" update query
as analyzed by JanR.


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

Comment By: Jan Rittinger (tsheyar)
Date: 2008-06-03 11:55

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

The original error message is gone.

The query or better the queries however still fail because exactly-one()
is called with an empty input sequence in the second to last query.

If I replace the original second to last query

let $todo := subsequence(doc("prepared49736.data")/XIRAF/item[*],
1537,256)
let $dest := for $i in doc("test10.xml")//[EMAIL PROTECTED]
             where some $k in $todo/@xid satisfies $k = $i/@xid
             return $i
for $item in $todo
return
  do insert $item/*
  into exactly-one([EMAIL PROTECTED] = $item/@xid]])

with the query

let $todo := subsequence(doc("prepared49736.data")/XIRAF/item[*],
1537,256)
let $dest := for $i in doc("test10.xml")//[EMAIL PROTECTED]
             where some $k in $todo/@xid satisfies $k = $i/@xid
             return $i
for $item at $b in $todo
return
  ($b, [EMAIL PROTECTED] = $item/@xid]], "
")

that prints the input for the exactly-one call for each iteration then
iterations 1-65 and 67-69 contain no join results.

As I'm not sure what happens I reassign the bug to the ones that were
originally involved (Sjoerd, Stefan, and Wouter).



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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1981852&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

Reply via email to