using Tables
using Arrow
using PooledArrays
for _ in 1:10000
t = Tables.partitioner(
(
(a=Arrow.toarrowvector(PooledArray([1,2,3 ])),),
(a=Arrow.toarrowvector(PooledArray([1,2,3,4])),),
(a=Arrow.toarrowvector(PooledArray([1,2,3,4,5])),),
)
)
tt = Arrow.Table(Arrow.tobuffer(t))
end
Found a flaky test, this one https://github.com/apache/arrow-julia/blob/c469151d4ff261b50c59bf98101f068fa577fca4/test/runtests.jl#L297-L305
If you run it without threads, always passes. If you run it with
-t 10
it has a significant chance of erroring.A) Start Julia with
-t 10
B) Create the environment with:
C) Run the test many times:
Highly likely that you'll hit this:
I've reproduced this in both
1.8.5
and1.9.0-rc2
, in two machines. Machine 1:Machine 2: