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++
Describe the enhancement requested
Currently, the
replace_with_maskcompute function throws aNotImplementederror when called on variable-width list arrays (ListTypeandLargeListType).Given that
replace_with_maskis broadly useful for data manipulation, it would be great to support variable-size list arrays natively. The implementation can build on the existingReplaceMaskImplby adding a specialization for list types. It should useListBuilder/LargeListBuilderto 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++