lidavidm commented on code in PR #41785:
URL: https://github.com/apache/arrow/pull/41785#discussion_r1611100123
##########
java/vector/src/test/java/org/apache/arrow/vector/TestMapVector.java:
##########
@@ -1178,4 +1180,22 @@ public void testGetTransferPairWithFieldAndCallBack() {
toVector.clear();
}
}
+
+ @Test
+ public void testMakeTransferPairPreserveNullability() {
+ Field intField = new Field("int",
FieldType.notNullable(MinorType.INT.getType()), null);
+ List<Field> fields = new ArrayList<>(1);
+ fields.add(intField);
Review Comment:
Just use Collections.singletonList...
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]