Skip to content

Commit ef5f17a

Browse files
lidavidmwesm
authored andcommitted
ARROW-8294: [Flight] Add DoExchange to Flight.proto
This is the proposed addition of the DoExchange endpoint to Flight for the mailing list discussion. Closes apache#6686 from lidavidm/doexchange-format Authored-by: David Li <li.davidm96@gmail.com> Signed-off-by: Wes McKinney <wesm+git@apache.org>
1 parent f21a551 commit ef5f17a

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

format/Flight.proto

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,15 @@ service FlightService {
8787
*/
8888
rpc DoPut(stream FlightData) returns (stream PutResult) {}
8989

90+
/*
91+
* Open a bidirectional data channel for a given descriptor. This
92+
* allows clients to send and receive arbitrary Arrow data and
93+
* application-specific metadata in a single logical stream. In
94+
* contrast to DoGet/DoPut, this is more suited for clients
95+
* offloading computation (rather than storage) to a Flight service.
96+
*/
97+
rpc DoExchange(stream FlightData) returns (stream FlightData) {}
98+
9099
/*
91100
* Flight services can support an arbitrary number of simple actions in
92101
* addition to the possible ListFlights, GetFlightInfo, DoGet, DoPut

0 commit comments

Comments
 (0)