pratyushadk opened a new issue, #50879:
URL: https://github.com/apache/arrow/issues/50879

   ### Describe the enhancement requested
   
   Currently, the `replace_with_mask` compute function throws a 
`NotImplemented` error when called on variable-width list arrays (`ListType` 
and `LargeListType`). 
   
   Given that `replace_with_mask` is broadly useful for data manipulation, it 
would be great to support variable-size list arrays natively. The 
implementation can build on the existing `ReplaceMaskImpl` by adding a 
specialization for list types. It should use `ListBuilder`/`LargeListBuilder` 
to safely append slices of the child arrays, respecting the variable lengths 
without directly mutating the offsets.
   
   I've already started working on a C++ implementation for this and plan to 
submit a PR for it shortly!
   
   
   ### Component(s)
   
   C++


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