Serialization of Tumbling Window For fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Released
|
High
|
Markos Zaharioudakis |
Bug Description
Hello
The serialization of a tumbling window for is broken. The assertion at src/zorbaserial
=== modified file 'test/unit/
--- test/unit/
+++ test/unit/
@@ -37,6 +37,14 @@
return 1
};
+declare function guestbook:window() {
+ let $x := 1 to 1000
+ for tumbling window $w in $x
+ start at $s when fn:true()
+ end at $e when $e - $s eq 51
+ return <window>{ $w }</window>
+};
+
declare %ann:sequential function guestbook:init() {
ddl:
};
=== modified file 'test/unit/
--- test/unit/
+++ test/unit/
@@ -18,4 +18,4 @@
import module namespace refl = "http://
-guestbook:init(), refl:eval(
+guestbook:init(), refl:eval(
the test result is:
ctest -R plan_seri -V
UpdateCTestConf
Parse Config file:/home/
Add coverage exclude regular expressions.
Add coverage exclude: mapm.*
UpdateCTestConf
Parse Config file:/home/
Test project /home/dagraf/
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
test 2041
Start 2041: test/unit/
2041: Test command: /home/dagraf/
2041: Test timeout computed to be: 1500
2041: <//home/
2041: UnitTests: /home/dagraf/
1/1 Test #2041: test/unit/
0% tests passed, 1 tests failed out of 1
Total Test time (real) = 0.17 sec
The following tests FAILED:
2041 - test/unit/
Errors while running CTest
Changed in zorba: | |
assignee: | nobody → Daniel Turcanu (danielturcanu) |
Changed in zorba: | |
importance: | Undecided → High |
assignee: | Daniel Turcanu (danielturcanu) → Markos Zaharioudakis (markos-za) |
Changed in zorba: | |
milestone: | none → 2.7 |
Changed in zorba: | |
milestone: | 2.7 → 2.6 |
status: | Fix Committed → Fix Released |
I looks like this bug has been fixed already. Not sure in what release.