@@ -2983,7 +2983,7 @@ void testWindowStaticCounts() {
2983
2983
2984
2984
@ Test
2985
2985
void testWindowDynamicNegative () {
2986
- try (ColumnVector precedingCol = ColumnVector .fromInts (3 , 3 , 3 , 4 , 4 );
2986
+ try (ColumnVector precedingCol = ColumnVector .fromInts (1 , 2 , 3 , 4 , 4 );
2987
2987
ColumnVector followingCol = ColumnVector .fromInts (-1 , -1 , -1 , -1 , 0 )) {
2988
2988
try (WindowOptions window = WindowOptions .builder ()
2989
2989
.minPeriods (2 ).window (precedingCol , followingCol ).build ()) {
@@ -3014,7 +3014,7 @@ void testWindowLag() {
3014
3014
@ Test
3015
3015
void testWindowDynamic () {
3016
3016
try (ColumnVector precedingCol = ColumnVector .fromInts (1 , 2 , 3 , 1 , 2 );
3017
- ColumnVector followingCol = ColumnVector .fromInts (2 , 2 , 2 , 2 , 2 )) {
3017
+ ColumnVector followingCol = ColumnVector .fromInts (2 , 2 , 2 , 1 , 0 )) {
3018
3018
try (WindowOptions window = WindowOptions .builder ().minPeriods (2 )
3019
3019
.window (precedingCol , followingCol ).build ()) {
3020
3020
try (ColumnVector v1 = ColumnVector .fromInts (5 , 4 , 7 , 6 , 8 );
0 commit comments