Skip to content

Commit

Permalink
fixing warnings v13: all compression
Browse files Browse the repository at this point in the history
  • Loading branch information
vibhatha committed Jan 11, 2024
1 parent 1efd68d commit 736f484
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ void testCompressVariableWidthBuffers(int vectorLength, CompressionCodec codec)
if (i % 10 == 0) {
origVec.setNull(i);
} else {
origVec.setSafe(i, String.valueOf(i).getBytes());
origVec.setSafe(i, String.valueOf(i).getBytes(StandardCharsets.UTF_8));
}
}
origVec.setValueCount(vectorLength);
Expand All @@ -199,7 +199,7 @@ void testCompressVariableWidthBuffers(int vectorLength, CompressionCodec codec)
if (i % 10 == 0) {
assertTrue(newVec.isNull(i));
} else {
assertArrayEquals(String.valueOf(i).getBytes(), newVec.get(i));
assertArrayEquals(String.valueOf(i).getBytes(StandardCharsets.UTF_8), newVec.get(i));
}
}

Expand Down

0 comments on commit 736f484

Please sign in to comment.