jayzhan211 commented on issue #6846:
URL: https://github.com/apache/arrow-rs/issues/6846#issuecomment-2524859541

   Oh, I see the question you have. I think we can't build the ListArray from 
`ArrayRef`. I think the easiest way is to create the list like this
   
   ```rust
           let data = vec![
               Some(vec![Some(0), Some(1), Some(2)]),
               Some(vec![Some(3), Some(4), Some(5)]),
               Some(vec![Some(6), Some(7)]),
           ];
           let list_array = ListArray::from_iter_primitive::<Int32Type, _, 
_>(data);
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to