apache / arrow-rs

Official Rust implementation of Apache Arrow
https://arrow.apache.org/
Apache License 2.0
2.62k stars 802 forks source link

Implement interleave_record_batch #6731

Closed waynexia closed 5 days ago

waynexia commented 1 week ago

Which issue does this PR close?

Closes #.

Rationale for this change

Trivial feature similar to take_record_batch. Make it a bit easier to use.

What changes are included in this PR?

A new function interleave_record_batch which loops on every column from input record batches and invokes interleave internally

Are there any user-facing changes?

New API