Bugs item #2461857, was opened at 2008-12-23 16:57 Message generated for change (Comment added) made by stmane You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2461857&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/compiler >Group: Pathfinder "stable" Status: Open Resolution: None Priority: 5 Private: No Submitted By: marspluto (juntezhang) >Assigned to: Jan Rittinger (tsheyar) Summary: Error: !fatal error: Algebra implementation for function `#p Initial Comment: I upgraded to the latest stable version, because I wanted to use the standard XQuery algebra, but when I execute a query, I get this error: Error: !fatal error: Algebra implementation for function `#pf:string-value' is missing. To prove that I am indeed using the latest stable version: # MonetDB Server v4.26.2 # based on GDK v1.26.2 # Copyright (c) 1993-July 2008, CWI. All rights reserved. # Copyright (c) August 2008-, MonetDB B.V.. All rights reserved. # Compiled for i686-pc-linux-gnu/32bit with 32bit OIDs; dynamically linked. # Visit http://monetdb.cwi.nl/ for further information. # PF/Tijah module v0.9.0 loaded. http://dbappl.cs.utwente.nl/pftijah # MonetDB/XQuery module v0.26.2 loaded (default back-end is 'algebra') # XRPC administrative console at http://127.0.0.1:50001/admin I installed it from CVS. This problem does not occur when I use the milprint_summer backend. ---------------------------------------------------------------------- >Comment By: Stefan Manegold (stmane) Date: 2008-12-23 17:15 Message: Just for info, the code says: ======== /** * Build up operator tree for built-in function '#pf:string-value'. */ struct PFla_pair_t PFbui_pf_string_value (const PFla_op_t *loop, bool ordering, struct PFla_pair_t *args) { /* We cannot cope with a mix of certain node kinds. E.g. comments and element nodes are not distinguishable in the algebra but still require a different treating in the backend. One solution could be to get all nodes with desc-or-self::text() U attribute::* U self::pi() U self::comment and then have a universal doc_access operator kind that can cope with all these kinds. The nicest solution however seems to be C primitive in the runtime that implements string-value. (This would make the algebra a lot easier to read and optimize.) */ PFoops (OOPS_FATAL, "Algebra implementation for function " "`#pf:string-value' is missing."); (void) loop; (void) ordering; return args[0]; } ======== The question is, which XQuer(y|ies) (on what kind of data/document(s)) do(es) trigger this error? (And why?) ---------------------------------------------------------------------- Comment By: Stefan Manegold (stmane) Date: 2008-12-23 17:04 Message: Which XQuer(y|ies) do trigger this error? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2461857&group_id=56967 ------------------------------------------------------------------------------ _______________________________________________ Monetdb-bugs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/monetdb-bugs
