You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2021/01/07 15:38:35 UTC

[GitHub] [arrow] ovr commented on pull request #9114: ARROW-11149: [Rust] DF Support List/LargeList in create_batch_empty

ovr commented on pull request #9114:
URL: https://github.com/apache/arrow/pull/9114#issuecomment-756192484


   @jorgecarleitao You are right, but I was thinking about modifying `make_empty_list_fn` macros to support  `FixedSizeListBuilder`, which is not `GenericListBuilder`.
   
   Something like:
   
   `make_empty_list_fn!(build_empty_fixed_size_list_array, FixedSizeListBuilder);`
   
   But I am having a problem with constructing it, `FixedSizeListBuilder` requires 2 arguments in `new` method instead of one like `GenericListBuilder`.
   
   `pub fn new(values_builder: T, length: i32) -> Self {`
   
   Do you have any solutions how is it possible to do by Marcos? And is it a good idea?
   
   Thanks!
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org