[Bug 15368] WindowingUseCase09

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15368

Andrew Eisenberg <andrew.eisenberg@us.ibm.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrew.eisenberg@us.ibm.com

--- Comment #1 from Andrew Eisenberg <andrew.eisenberg@us.ibm.com> 2012-01-16 17:07:59 UTC ---
On the second point that you raise, an order by clause was added to Windowing
Use Case in response to Bug #11759.

When we next publish our Use Cases, Q9 will read:

declare variable $seq := fn:doc("person_events.xml");

<result>{
for sliding window $w in $seq/stream/event
  start  $s when $s/direction eq "in"
  only end  $e when $s/person eq $e/person and
    $e/direction eq "out"
let $person := $s/person
let $workingTime := xs:dateTime($e/@time) - xs:dateTime($s/@time)
group by $person
order by $person
return
  <working-time>
    {$person}
    <time>{ sum($workingTime) }</time>
  </working-time>
}</result>


This order by clause should be added to this test case.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Monday, 16 January 2012 17:08:10 UTC