pepijnve opened a new pull request, #8753: URL: https://github.com/apache/arrow-rs/pull/8753
# Which issue does this PR close? - Closes #8752. # Rationale for this change The algorithms suggested in this PR originate from the `case` logic in DataFusion. I think it might be useful to move them to `arrow-rs` instead of being tucked away in a corner of the DataFusion codebase. # What changes are included in this PR? Adds a two-way and n-way merge algorithm that's halfway between `zip` and `interleave`. In contrast to `zip` the truthy and falsy arrays do not need to be prealigned. In contrast to `interleave` the relative order of elements in each input array is retained in the final result. # Are these changes tested? I've already added two minimal unit tests, more should probably be added. # Are there any user-facing changes? No breaking API changes -- 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]
