Skip to content

Commit

Permalink
ARROW-8294: [Flight] Add DoExchange to Flight.proto
Browse files Browse the repository at this point in the history
This is the proposed addition of the DoExchange endpoint to Flight for the mailing list discussion.

Closes #6686 from lidavidm/doexchange-format

Authored-by: David Li <li.davidm96@gmail.com>
Signed-off-by: Wes McKinney <wesm+git@apache.org>
  • Loading branch information
lidavidm authored and wesm committed Mar 31, 2020
1 parent f21a551 commit ef5f17a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions format/Flight.proto
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,15 @@ service FlightService {
*/
rpc DoPut(stream FlightData) returns (stream PutResult) {}

/*
* Open a bidirectional data channel for a given descriptor. This
* allows clients to send and receive arbitrary Arrow data and
* application-specific metadata in a single logical stream. In
* contrast to DoGet/DoPut, this is more suited for clients
* offloading computation (rather than storage) to a Flight service.
*/
rpc DoExchange(stream FlightData) returns (stream FlightData) {}

/*
* Flight services can support an arbitrary number of simple actions in
* addition to the possible ListFlights, GetFlightInfo, DoGet, DoPut
Expand Down

0 comments on commit ef5f17a

Please sign in to comment.