Project

Profile

Help

Bug #6217

closed

Sliding windows: finished windows not output if windows that started earlier are unfinished

Added by Christian Grün 7 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
XQuery conformance
Sprint/Milestone:
-
Start date:
2023-10-09
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
11, 12, trunk
Fix Committed on Branch:
11, 12, trunk
Fixed in Maintenance Release:
Platforms:
.NET, Java

Description

The following expression returns no results:

for sliding window $w in 1 to 3
start at $p when true()
only end when $p = 2
return element w { $w }

I would expect <w>1 2</w> and <w>2</w> as result, but Zorba returns <w>1 2</w>, and all others I tried return an empty sequence. Did I get something wrong?

Please register to edit this issue

Also available in: Atom PDF