Bugs item #1883569, was opened at 2008-01-31 16:39
Message generated for change (Comment added) made by vzzzbx
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1883569&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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Wouter Alink (vzzzbx)
Assigned to: Nobody/Anonymous (nobody)
Summary: XQ: Algebra
Initial Comment:
I saw that the algebra was now runtime configurable... (yahoo!!)
I compiled it (last night's current), and ran some queries. Other than that
query performance is much better, I noticed the following:
- The output format for algebra xqueries seems to be 'xml', no matter which
option is supplied to '-f'. (milprint_summer had 'dm' as default)
- Typo: miprintsummer in pathfinder.mx (line: 4385)
"""(GDKgetenv("xquery_backend") == NULL) ||
(strcmp(GDKgetenv("xquery_backend"),"miprint_summer") != 0)))"""
- The function "pf:documents()" is not yet implemented?
- it cannot yet count to 3
QUERY = count(1 to 3)
ERROR = !fatal error: physical algebra equivalent for logical algebra node kind
31 not implemented, yet
----------------------------------------------------------------------
>Comment By: Wouter Alink (vzzzbx)
Date: 2008-01-31 23:45
Message:
Logged In: YES
user_id=621590
Originator: YES
thanks for the quick replies and fixes.
fn:doc-available() is indeed more useful in most of our cases. will there
be a way in the upcoming version to obtain a list of documents/collections
that are currently stored in the database?
i'll close the bug-report as there are enough tests with 'to' already.
Jan, good night.
----------------------------------------------------------------------
Comment By: Jan Rittinger (tsheyar)
Date: 2008-01-31 22:52
Message:
Logged In: YES
user_id=993208
Originator: NO
Just added support for op:to --- Now you can count until MonetDB crashes
:D
But you have to come up with something more clever than
for $a in (1 to 1000000) return 1 to 1000000
This query only returns the useful error message '!ERROR: CMDcross:
operation failed.' but does not crash MonetDB :-).
----------------------------------------------------------------------
Comment By: Stefan Manegold (stmane)
Date: 2008-01-31 17:22
Message:
Logged In: YES
user_id=572415
Originator: NO
- Indeed, the algebra version for now only supports the "xml" serializer.
- Typo in pathfinder.mx is fixed. Thanks for notifying!
- pf:documents() is not yet available in the algebra version.
In fact, we also plan to implement fn:doc-available()
(cf., http://www.w3.org/TR/xpath-functions/#func-doc-available)
which might be more suitable for your purposes than pf:documents() ...
- The algebra version does not yet suppor the "to" operator.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1883569&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