Skip to content

Apache DataFusion SQL Query Engine

ARROW-8294: [Flight] Add DoExchange to Flight.proto

David Libb223282838d
diff --git a/format/Flight.proto b/format/Flight.proto
index a969122096..71ae7ca9d5 100644
--- a/format/Flight.proto
+++ b/format/Flight.proto
@@ -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