Bugs item #1640403, was opened at 2007-01-20 20:04
Message generated for change (Comment added) made by stmane
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1640403&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: MonetDB4 CVS Head
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Wouter Alink (vzzzbx)
>Assigned to: Peter Boncz (boncz)
Summary: XQuery: insert node fails

Initial Comment:
after I finally managed to compile the new MonetDB4 and pathfinder (both 
cvs-head), i was excited to try the new update-stuff, but one of my first 
queries reported the following: 

(note: as said, i was a little excited, and output.xml is therefore a 150MB xml 
document)

===================

xquery>pf:add-doc("/home/xiraf/Desktop/output.xml","temp.xml",10)
more>xquery>
more>do insert <beer/> into exactly-one(doc("temp.xml")/*)
more>MAPI  = [EMAIL PROTECTED]:50000
QUERY = do insert <beer/> into exactly-one(doc("temp.xml")/*)
ERROR = !ERROR: [remap]: 5 times inserted nil due to errors at tuples [EMAIL 
PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL 
PROTECTED]
        !ERROR: [remap]: first error was:
        !ERROR: CMDremap: operation failed.
        !ERROR: interpret_unpin: [remap] bat=302,stamp=-1785 OVERWRITTEN
        !ERROR: BBPdecref: 1000000001_rid_nid does not have pointer fixes.
        !ERROR: interpret_params: leftfetchjoin(param 2): evaluation error.
xquery>

===================



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

>Comment By: Stefan Manegold (stmane)
Date: 2007-01-22 11:09

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

Assigned to Peter, since he knows the update code the best.

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

Comment By: Wouter Alink (vzzzbx)
Date: 2007-01-21 13:10

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

this bug seems to be a shredding issue. when leaving no holes, i am able
to query the document. when leaving some holes, the document is not
queryable anymore. (see below)

[EMAIL PROTECTED] scratch]$ MapiClient -lxq
xquery>pf:add-doc("/home/xiraf/Desktop/output.xml","output.xml")
more>xquery>count(doc("output.xml")//*)
more>2518925
xquery>pf:add-doc("/home/xiraf/Desktop/output.xml","output1.xml",1)
more>xquery>count(doc("output1.xml")//*)
more>MAPI  = [EMAIL PROTECTED]:50000
QUERY = count(doc("output1.xml")//*)
ERROR = !ERROR: [remap]: 5 times inserted nil due to errors at tuples [EMAIL 
PROTECTED],
[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
        !ERROR: [remap]: first error was:
        !ERROR: CMDremap: operation failed.
        !ERROR: interpret_unpin: [remap] bat=88,stamp=-1064 OVERWRITTEN
        !ERROR: BBPdecref: 1000000001_rid_nid does not have pointer
fixes.
        !ERROR: interpret_params: leftfetchjoin(param 2): evaluation
error.
xquery>

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

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