Skip to content

Apache DataFusion SQL Query Engine

ARROW-4651: [Flight] Use URIs instead of host/port pair

David Li2b00d74b1656
diff --git a/format/Flight.proto b/format/Flight.proto
index 1fcefe9a63..7f0488b86c 100644
--- a/format/Flight.proto
+++ b/format/Flight.proto
@@ -246,7 +246,7 @@ message FlightEndpoint {
Ticket ticket = 1;
/*
- * A list of locations where this ticket can be redeemed. If the list is
+ * A list of URIs where this ticket can be redeemed. If the list is
* empty, the expectation is that the ticket can only be redeemed on the
* current service where the ticket was generated.
*/
@@ -254,12 +254,11 @@ message FlightEndpoint {
}
/*
- * A location where a flight service will accept retrieval of a particular
- * stream given a ticket.
+ * A location where a Flight service will accept retrieval of a particular
+ * stream given a ticket.
*/
message Location {
- string host = 1;
- int32 port = 2;
+ string uri = 1;
}
/*