nbruno commented on a change in pull request #9581:
URL: https://github.com/apache/arrow/pull/9581#discussion_r583786671
##########
File path:
java/vector/src/test/java/org/apache/arrow/vector/util/TestVectorAppender.java
##########
@@ -95,6 +96,27 @@ public void testAppendFixedWidthVector() {
}
}
+ @Test
+ public void testAppendEmptyFixedWidthVector() {
+ try (IntVector target = new IntVector("", allocator);
+ IntVector delta = new IntVector("", allocator)) {
+
+ target.allocateNew(10);
Review comment:
I removed all explicit calls for allocation if the utility method
performs the allocation.
----------------------------------------------------------------
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]