Skip to content

Commit

Permalink
close the vector
Browse files Browse the repository at this point in the history
  • Loading branch information
razajafri committed Dec 3, 2021
1 parent fe384f2 commit 9ee78b6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions java/src/test/java/ai/rapids/cudf/ColumnVectorTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -3394,6 +3394,9 @@ void testCastBigDecimalToString() {
BigDecimal[] bigValues0 = {new BigDecimal("992983283728193827182918744829283742232")};
try {
ColumnVector cv = ColumnVector.fromDecimals(bigValues0);
if (cv != null) {
cv.close();
}
fail("Precision check should've thrown an IllegalArgumentException");
} catch (IllegalArgumentException iae) {
}
Expand Down

0 comments on commit 9ee78b6

Please sign in to comment.