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

Minor: Clarify rationale for FlightDataEncoder API, add examples #4916

Merged
merged 1 commit into from
Oct 11, 2023

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Oct 10, 2023

Which issue does this PR close?

Rationale for this change

  1. Someone asked about the rationale for sending Result<RecordBatch> rather than RecordBatch
  2. If you aren't comfortable with Rust's Stream interface it may not be obvious how to convert Vec<RecordBatch> to the Stream needed for FlightDataEncoder

What changes are included in this PR?

Improve doc comments and add an example

Are there any user-facing changes?

Doc comments

@alamb alamb marked this pull request as ready for review October 10, 2023 19:32
@github-actions github-actions bot added arrow Changes to the arrow crate arrow-flight Changes to the arrow-flight crate labels Oct 10, 2023
@tustvold tustvold merged commit 181cb3d into apache:master Oct 11, 2023
12 checks passed
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.

None yet

2 participants