~juan457/+junk/zorba

« back to all changes in this revision

Viewing changes to test/rbkt/Queries/zorba/windowing/tumbling50.xq

  • Committer: Markos Zaharioudakis
  • Date: 2012-07-11 15:38:39 UTC
  • mfrom: (10924 zorba)
  • mto: This revision was merged to the branch mainline in revision 10932.
  • Revision ID: markos_za@yahoo.com-20120711153839-0mkh15cg2ubknchd
work in progress

Show diffs side-by-side

added added

removed removed

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