[xquery-talk] Order of results

David Carlisle davidc at nag.co.uk
Fri Nov 5 13:42:35 PST 2010

On 05/11/2010 13:25, Michael Kay wrote:
> I agree, it's very unclear: but after reading it three times, I came to
> the conclusion it was saying the tuples in the tuple stream could be in
> any order.

which, just to confirm what you are saying, means that the result 
reported at the start of the thread should not occur doesn't it?

there are two tuples, processing one produces

A, a1, a2


A, a2, a1

processing the other gives

B, b1

so the possible results are

A, a1, a2, B, b1

B, b1, A, a1, a2

A, a2, a1, B, b1

B, b1, A, a2, a1

but the reported result was

A, b1, B, a1, a2

The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 

More information about the talk mailing list