← Back to team overview

zorba-coders team mailing list archive

[Bug 1022557] [NEW] tumbling window query returns wrong result

 

Public bug reported:

Here is the query:

for tumbling window $w in (1,1,1,1,1,4,2,2,2,2,2,2,4,3,3,3,3,3,4)                                               
start $s when true()                                                               
end $e when $e = 4                                                       
return <window>{fn:subsequence($w, 1, 3)}</window>

** Affects: zorba
     Importance: High
     Assignee: Markos Zaharioudakis (markos-za)
         Status: New

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/1022557

Title:
  tumbling window query returns wrong result

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Here is the query:

  for tumbling window $w in (1,1,1,1,1,4,2,2,2,2,2,2,4,3,3,3,3,3,4)                                               
  start $s when true()                                                               
  end $e when $e = 4                                                       
  return <window>{fn:subsequence($w, 1, 3)}</window>

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/1022557/+subscriptions


Follow ups

References