Re: [C++] RandomArrayGenerator::List bugs

2021-02-07 Thread Ying Zhou
A Jira ticket on this bug has been filed: https://issues.apache.org/jira/browse/ARROW-11548 > On Feb 7, 2021, at 3:29 PM, Ying Zhou wrote: > > Hi, > > Recently I found a weird bug in RandomArrayGenerator. > > RandomArrayGenerator::List con

[C++] RandomArrayGenerator::List bugs

2021-02-07 Thread Ying Zhou
Hi, Recently I found a weird bug in RandomArrayGenerator. RandomArrayGenerator::List consistently produces ListArrays with their length 1 below what they should be according to their documentation. Moreover the bitmaps we have are weird. Here is some simple test: TEST(TestAdapterWriteNested,