XQuery, parallel execution
See original GitHub issueUsing xquery:fork-join, errors can happen. Examples:
- Static variable depends on itself: $C:VALUES
- Item expected, sequence found: (element erstellt {…}, …).
Some more work is required to find out which operations are not completely thread-safe.
XQuery (with the next
branch):
let $x := <x/>
return xquery:fork-join(
for $i in 1 to 10000
return function() { $x/text() }
)
Result:
[XPDY0002] text(): no context value bound.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:10 (6 by maintainers)
Top Results From Across the Web
A Scalable Parallel XQuery Processor | ASTERIX
VXQuery, an open-source scalable XQuery processor. The sys- tem builds upon two other open-source frameworks: Hyracks, a parallel execution engine, ...
Read more >EFFICIENT AND PARALLEL EVALUATION OF XQUERY
As XML and XQuery are being used for larger datasets, parallel execution and stream processing are two solutions to reduce storage and/or the...
Read more >PAXQuery: Efficient Parallel Processing ... - Archive ouverte HAL
This work considers the problem of efficiently parallelizing the execution of complex nested data processing, expressed in XQuery. We.
Read more >Algebra for Parallel XQuery Processing | SpringerLink
In this paper, algebra PPXA (Pure Parallel XQuery Algebra) is proposed to support parallel processing for XQuery statements. Based on the Algebra, ...
Read more >A scalable parallel XQuery processor - IEEE Xplore
The system builds upon two other open-source frameworks: Hyracks, a parallel execution engine, and Algebricks, a language agnostic compiler toolbox.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Short version:
xquery:fork-join((1 to 1000) ! function() { <x/>[@a] })
I have another example reproducible with BaseX 9.1.2 - It needs to be run multiple times until it gives an error. It fails faster with more threads