Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement interleave_record_batch #6731

Merged
merged 1 commit into from
Nov 16, 2024

Conversation

waynexia
Copy link
Member

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

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
@github-actions github-actions bot added the arrow Changes to the arrow crate label Nov 14, 2024
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @waynexia -- looks great to me. Tests + examples in docs 💯

@alamb alamb merged commit f955193 into apache:master Nov 16, 2024
26 checks passed
@waynexia waynexia deleted the interleave-record-batch branch November 17, 2024 03:44
@alamb alamb added the enhancement Any new improvement worthy of a entry in the changelog label Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate enhancement Any new improvement worthy of a entry in the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants