Skip to content

Commit

Permalink
Also adapt java variable-size rolling tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wence- committed Dec 19, 2024
1 parent 8c9dde5 commit 030ae7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java/src/test/java/ai/rapids/cudf/ColumnVectorTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -2983,7 +2983,7 @@ void testWindowStaticCounts() {

@Test
void testWindowDynamicNegative() {
try (ColumnVector precedingCol = ColumnVector.fromInts(3, 3, 3, 4, 4);
try (ColumnVector precedingCol = ColumnVector.fromInts(1, 2, 3, 4, 4);
ColumnVector followingCol = ColumnVector.fromInts(-1, -1, -1, -1, 0)) {
try (WindowOptions window = WindowOptions.builder()
.minPeriods(2).window(precedingCol, followingCol).build()) {
Expand Down Expand Up @@ -3014,7 +3014,7 @@ void testWindowLag() {
@Test
void testWindowDynamic() {
try (ColumnVector precedingCol = ColumnVector.fromInts(1, 2, 3, 1, 2);
ColumnVector followingCol = ColumnVector.fromInts(2, 2, 2, 2, 2)) {
ColumnVector followingCol = ColumnVector.fromInts(2, 2, 2, 1, 0)) {
try (WindowOptions window = WindowOptions.builder().minPeriods(2)
.window(precedingCol, followingCol).build()) {
try (ColumnVector v1 = ColumnVector.fromInts(5, 4, 7, 6, 8);
Expand Down

0 comments on commit 030ae7a

Please sign in to comment.