Skip to content

minor : batches_to_flight_data() should not require ownership of arguments - #11010

Open
Rich-T-kid wants to merge 2 commits into
apache:mainfrom
Rich-T-kid:rich-t-kid/allow-vector-re-use
Open

minor : batches_to_flight_data() should not require ownership of arguments #11010
Rich-T-kid wants to merge 2 commits into
apache:mainfrom
Rich-T-kid:rich-t-kid/allow-vector-re-use

Conversation

@Rich-T-kid

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

see #4014

What changes are included in this PR?

change arguments of batches_to_flight_data() to take in an iterator so that the underlying container (typically a vecotr) does not need to take ownership.

Are these changes tested?

n/a

Are there any user-facing changes?

yes, this is a breaking change. but it should be a no-op change for existing users that used Vec<record_batch>

@github-actions github-actions Bot added arrow Changes to the arrow crate arrow-flight Changes to the arrow-flight crate labels Sep 7, 2026
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 arrow-flight Changes to the arrow-flight crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

batches_to_flight_data() should not require ownership of arguments

1 participant