[ 
https://issues.apache.org/jira/browse/ARROW-18371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17641241#comment-17641241
 ] 

Rok Mihevc commented on ARROW-18371:
------------------------------------

Random array generators would indeed be useful.
How about macros from gtest_util.h such as 
[ASSERT_OK_AND_ASSIGN|https://github.com/apache/arrow/blob/df07b9160d7c8537d5d9f93cd6f25bdbef334ed6/cpp/src/arrow/testing/gtest_util.h#L119]?
 These macros would potentially be useful when testing another library with 
Arrow data.

> [C++] Expose *FromJSON helpers
> ------------------------------
>
>                 Key: ARROW-18371
>                 URL: https://issues.apache.org/jira/browse/ARROW-18371
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++
>            Reporter: Rok Mihevc
>            Priority: Major
>              Labels: testing
>
> {Array,{{Exec,Record}Batch}FromJSON helper functions would be useful when 
> testing in projects that use Arrow. BatchesWithSchema and MakeBasicBatches 
> could be considered as well.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to