tustvold commented on issue #6692:
URL: https://github.com/apache/arrow-rs/issues/6692#issuecomment-2461304304

   I think the idea is sound in principle, but needs a concrete API proposal.
   
   I'm not sure the proposed builder API makes sense, as the typing for nested 
types like ListBuilder and DictionaryBuilder is not what we want here, and they 
can't easily be type erased. We also ideally want to avoid overly bloating the 
arrow-array crate with kernel logic. _This isn't even touching on the fact 
these kernels don't use the builders for performance reasons._
   
   I think we'd need to introduce a new type-erased MutableArray abstraction or 
something, potentially replacing the rather problematic MutableArrayData.
   
   The only remaining challenge concerns dictionaries, as the output dictionary 
needs to be computed up front. Simply not supporting dictonaries could 
potentially be a valid workaround though.
   
   


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