LiShiZhensPi opened a new issue, #3702: URL: https://github.com/apache/arrow-rs/issues/3702
Hi,I'm new to Rust and I really like the Rust language and the project. This is what came to mind when I read the code for this project. **Is your feature request related to a problem or challenge? Please describe what you are trying to do.** The existed method `GenericListArray::from_iter_primitive` can only create Array of `List<T>`,it can't create Array of `List<List<T>>`and other more nested List. **Describe the solution you'd like** Is possible to implement GenericListArray::from_iter so we can create GenericListArray like this: ```Rust // create ListArray [[[1,2],null],[[3]]] let data = vec![ Some(vec![Some(vec![Some(1), Some(2)]), None]), Some(vec![Some(vec![Some(3)])]), ]; let list_array = GenericListArray::<i32>::from_iter::<Int32Type,..?>(data); ``` **Describe alternatives you've considered** Is there a way to support arbitrary nesting depth of list handlers via generic implementation? I'm curious if Rust's metaprogramming is powerful enough to implement this feature. **Additional context** https://docs.rs/arrow-array/32.0.0/arrow_array/array/struct.GenericListArray.html#method.from_iter_primitive -- 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: github-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org