Re: [C++] Random table generator and table converter

2021-01-28 Thread Antoine Pitrou
Hi Ying, Le 28/01/2021 à 08:15, Ying Zhou a écrit : > > > By the way I haven’t found any function that can directly generate an Arrow > Table using a schema, size and null_probability. Is there any need for such > functionality? If this is useful for purposes beyond ORC/Parquet/CSV/etc IO >

[C++] Random table generator and table converter

2021-01-27 Thread Ying Zhou
Hi, For the C++ tests for the ORC writer there are two functions I need which can significantly shorten the tests, namely a generic table generator and a table converter. For the former I know there is arrow/testing/random.h which can generate random arrays. Shall I generate random struct arr