Skip to content

Commit

Permalink
Enable window lead/lag test on struct
Browse files Browse the repository at this point in the history
  • Loading branch information
wbo4958 committed Jun 18, 2021
1 parent d8a3e60 commit 0cfde7d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions java/src/test/java/ai/rapids/cudf/TableTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -3321,9 +3321,7 @@ null, new StructData(13, "s13"), new StructData(14, "s14"), new StructData(-14,
assertColumnsAreEqual(expectAggResult, windowAggResults.getColumn(0));
assertColumnsAreEqual(decExpectAggResult, decWindowAggResults.getColumn(0));
assertColumnsAreEqual(listExpectAggResult, listWindowAggResults.getColumn(0));

// TODO this is not gonna work, since libcudf has some issue for lead on struct with default values
// assertColumnsAreEqual(structExpectAggResult, structWindowAggResults.getColumn(0));
assertColumnsAreEqual(structExpectAggResult, structWindowAggResults.getColumn(0));
}

// Outside bounds
Expand Down Expand Up @@ -3542,8 +3540,7 @@ null, new StructData(111, "s111"), new StructData(null, "s112"), new StructData(
assertColumnsAreEqual(expectAggResult, windowAggResults.getColumn(0));
assertColumnsAreEqual(decExpectAggResult, decWindowAggResults.getColumn(0));
assertColumnsAreEqual(listExpectAggResult, listWindowAggResults.getColumn(0));
// TODO this is not gonna work, since libcudf has some issue for lag on struct with default values
// assertColumnsAreEqual(structExpectAggResult, structWindowAggResults.getColumn(0));
assertColumnsAreEqual(structExpectAggResult, structWindowAggResults.getColumn(0));
}

// Outside bounds
Expand Down

0 comments on commit 0cfde7d

Please sign in to comment.