Skip to content

deprecate flight_data_to_arrow_batch#10256

Open
Rich-T-kid wants to merge 1 commit into
apache:mainfrom
Rich-T-kid:rich-T-kid/deprecate-flight-data-to-batch
Open

deprecate flight_data_to_arrow_batch#10256
Rich-T-kid wants to merge 1 commit into
apache:mainfrom
Rich-T-kid:rich-T-kid/deprecate-flight-data-to-batch

Conversation

@Rich-T-kid

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

after #10206 flight_to_arrow_batch was only used in one location, within a test function. It served as a thin wrapper over read_record_batch. since #10206 made read_record_batch public callers should just call it directly

What changes are included in this PR?

  • Updates the two internal callsites of flight_data_to_arrow_batch to call arrow_ipc::reader::read_record_batch directly, and marks the function as deprecated since 59.1.0 pointing callers to do the same.

Are these changes tested?

yes. the changes are to test

Are there any user-facing changes?

yes, users will now receive a deprecated warning, guiding them to use read_record_batch() directly

@github-actions github-actions Bot added arrow Changes to the arrow crate arrow-flight Changes to the arrow-flight crate labels Jul 1, 2026
@Rich-T-kid

Copy link
Copy Markdown
Contributor Author

closes #10249

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.

deprecate flight_data_to_arrow_batch and expose read_record_batch directly

1 participant