[
https://issues.apache.org/jira/browse/ARROW-3239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17660262#comment-17660262
]
Rok Mihevc commented on ARROW-3239:
-----------------------------------
This issue has been migrated to [issue
#19581|https://github.com/apache/arrow/issues/19581] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [C++] Improve random data generation functions
> ----------------------------------------------
>
> Key: ARROW-3239
> URL: https://issues.apache.org/jira/browse/ARROW-3239
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Wes McKinney
> Assignee: Francois Saint-Jacques
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.13.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Our various code for generating random datasets for testing and benchmarks is
> a bit verbose / awkward.
> I suggest defining a nicer API so we can write code like:
> {code}
> auto arr = random::int32(length, seed);
> auto arr = random::varbinary(length, max_value_size, seed);
> {code}
> Since this is only for test code, we can abort if anything returns error
> Status to make the API more convenient
--
This message was sent by Atlassian Jira
(v8.20.10#820010)