W3C home > Mailing lists > Public > public-qt-comments@w3.org > January 2012

[Bug 15368] WindowingUseCase09

From: <bugzilla@jessica.w3.org>
Date: Mon, 16 Jan 2012 17:08:00 +0000
To: public-qt-comments@w3.org
Message-Id: <E1Rmq2K-0000Ne-3E@jessica.w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:47 UTC