liyafan82 commented on a change in pull request #9581:
URL: https://github.com/apache/arrow/pull/9581#discussion_r583529700
##########
File path:
java/vector/src/test/java/org/apache/arrow/vector/util/TestVectorAppender.java
##########
@@ -120,6 +142,26 @@ public void testAppendVariableWidthVector() {
}
}
+ @Test
+ public void testAppendEmptyVariableWidthVector() {
+ try (VarCharVector target = new VarCharVector("", allocator);
+ VarCharVector delta = new VarCharVector("", allocator)) {
+
+ target.allocateNew(5, 10);
Review comment:
This is not needed either, as `ValueVectorDataPopulator.setVector` calls
the `getSafe` method.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]