You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "davisusanibar (via GitHub)" <gi...@apache.org> on 2023/09/14 20:43:35 UTC

[GitHub] [arrow] davisusanibar opened a new issue, #37728: [Java]: Using an Iterator/Iterable/Stream to provide objects to a Java Collection for testing assertions

davisusanibar opened a new issue, #37728:
URL: https://github.com/apache/arrow/issues/37728

   ### Describe the enhancement requested
   
   Use an Iterator/Iterable/Stream to provide objects into a Java Collection and use it for standard assertions.
   
   Improve this method of comparing values of Vector Value objects, for example:
   
   ```
           assertTrue(reader.getVectorSchemaRoot().getVector("id").toString().equals("[19, 1, 11]"));
           assertTrue(reader.getVectorSchemaRoot().getVector("name").toString()
               .equals("[value_19, value_1, value_11]"));
   ```
   
   ### Component(s)
   
   Java


-- 
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: issues-unsubscribe@arrow.apache.org.apache.org

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


Re: [I] [Java] Using an Iterator/Iterable/Stream to provide objects to a Java Collection for testing assertions [arrow]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on issue #37728:
URL: https://github.com/apache/arrow/issues/37728#issuecomment-2174753511

   Issue resolved by pull request 41895
   https://github.com/apache/arrow/pull/41895


-- 
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-unsubscribe@arrow.apache.org

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


Re: [I] [Java] Using an Iterator/Iterable/Stream to provide objects to a Java Collection for testing assertions [arrow]

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm closed issue #37728: [Java] Using an Iterator/Iterable/Stream to provide objects to a Java Collection for testing assertions
URL: https://github.com/apache/arrow/issues/37728


-- 
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: issues-unsubscribe@arrow.apache.org

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


[GitHub] [arrow] lidavidm commented on issue #37728: [Java]: Using an Iterator/Iterable/Stream to provide objects to a Java Collection for testing assertions

Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm commented on issue #37728:
URL: https://github.com/apache/arrow/issues/37728#issuecomment-1720138512

   So to clarify, the idea is that we could build some wrapper/adapter over a Vector (or VectorSchemaRoot) to support iteration over it as Java objects, as a more convenient (if less performant) version of the Reader classes. Then you could easily turn that into a testing API.


-- 
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-unsubscribe@arrow.apache.org

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