tom-s-powell commented on code in PR #12692:
URL: https://github.com/apache/arrow/pull/12692#discussion_r881560720


##########
java/adapter/jdbc/src/test/java/org/apache/arrow/adapter/jdbc/h2/JdbcToArrowVectorIteratorTest.java:
##########
@@ -99,15 +104,25 @@ public void testJdbcToArrowValues() throws SQLException, 
IOException {
 
   @Test
   public void testVectorSchemaRootReuse() throws SQLException, IOException {
-    String[] expectedColValues = {
+    String[] expectedIntColValues = {
         "[101, 102, 103]",
         "[104, null, null]",
         "[107, 108, 109]",
         "[110]"
     };
+    String[] expectedArrayColValues = {

Review Comment:
   Added this test case for arrays specifically to test the fix to 
`ArrayConsumer` when resetting the delegate. Without the reset you end up 
reading null values.



-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to