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

feat(flight-sql): Allow custom commands in get-flight-info #4997

Merged
merged 1 commit into from Oct 30, 2023

Conversation

amartins23
Copy link
Contributor

Which issue does this PR close?

Closes #4996.

Rationale for this change

Allows implementations of FlightSqlService to support custom commands in GetFlightInfo. Capability already exists for DoGet.

What changes are included in this PR?

Added the methods get_flight_info_fallback to the trait FlightSqlService, and corresponding use in impl<T: FlightSqlService + Send + 'static> FlightService for T following the same pattern that already existed for do_get.

Are there any user-facing changes?

Yes, extended the API surface of the trait FlightSqlService.

@github-actions github-actions bot added arrow Changes to the arrow crate arrow-flight Changes to the arrow-flight crate labels Oct 26, 2023
Copy link
Contributor

@tustvold tustvold left a comment

Choose a reason for hiding this comment

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

Makes sense to me

@tustvold tustvold merged commit 890823b into apache:master Oct 30, 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.

[FlightSQL] Allow custom commands in get-flight-info
2 participants