viirya commented on issue #5098:
URL: https://github.com/apache/arrow-rs/issues/5098#issuecomment-1817937065

   I think it could make constructing `ListBuilder` for various element type 
more easier, at least I don't need such block:
   
   ```rust
   DataType::List(field) => {
       match field.data_type() {
           DataType::Boolean => {
               ...
               Box::new(ListBuilder::new(*builder))
           }
           DataType::Int8 => {
               ...
           }
           ...
   }
   ```
   
   For nested `ListBuilder`, we don't need to downcast nested `ListBuilder` (we 
are blocked by this as we cannot figure out nested generic type dynamically).
   
   


-- 
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