[FlightSQL] Allow custom commands in get-flight-info #4996
Labels
arrow
Changes to the arrow crate
arrow-flight
Changes to the arrow-flight crate
enhancement
Any new improvement worthy of a entry in the changelog
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
The current FlightSqlService trait allows the implementer to handle custom commands in the
DoGet
call viado_get_fallback
method implementation. However, the correspondingGetFlightInfo
call does not allow obtaining tickets for custom commands.Describe the solution you'd like
Create new methods (with default implementations) in the
FlightSqlService
trait:get_flight_info_fallback
Describe alternatives you've considered
The alternative is to create a wrapper
FlightService
implementation that has custom handling, then forwards everything to the existing implementation provided by implementingFlightSqlService
.Additional context
See previous issue #4463.
The text was updated successfully, but these errors were encountered: