FlightGetInfo or FlightInfo

2019-04-02 Thread ming zhang
Hi The name of FlightGetInfo is kind of strange. It is a noun+verb+noun, which is not consistent with others like FlightData, FlightDescriptor, etc. The 1st impression is that this is a method, not a message, since other methods are verb+noun. Should FlightGetInfo to be FlightInfo? Thanks Ming

Re: FlightGetInfo or FlightInfo

2019-04-02 Thread ming zhang
; On Tue, Apr 2, 2019 at 7:08 AM Antoine Pitrou > wrote: > >> > >> > >> If we change it, I vote for GetFlightInfo. > >> > >> Regards > >> > >> Antoine. > >> > >> > >> Le 02/04/2019 à 14:07, ming zhang

Re: FlightGetInfo or FlightInfo

2019-04-02 Thread ming zhang
t; would be the next step. > > On Tue, Apr 2, 2019 at 8:59 AM ming zhang > wrote: > > > > looks like we are ok with FlighInfo. what is the next step? should I > write > > a proposal or submit a patch? i just start working around Arrow Flight > and

How to understand this comment

2019-04-02 Thread ming zhang
Hi All Wonder how to understand this comment? Looks like this assume we only have one "itinerary" and finish it need to consume all the flight endpoints. /* * A list of endpoints associated with the flight. To consume the whole * flight, all endpoints must be consumed. */ What if we

Re: How to understand this comment

2019-04-02 Thread ming zhang
uot;provide more than one execution plan". > > - Wes > > On Tue, Apr 2, 2019 at 7:54 PM ming zhang > wrote: > > > > Hi All > > > > Wonder how to understand this comment? > > > > Looks like this assume we only have one "itinerary" and finish

Re: How to understand this comment

2019-04-03 Thread ming zhang
d. */ repeated FlightEndpoint endpoint = 1; } On Wed, Apr 3, 2019 at 12:40 AM Wes McKinney wrote: > On Tue, Apr 2, 2019 at 10:08 PM ming zhang > wrote: > > > > in a case where there are multiple ways to retrieve this logical data > set, > > how to represent this in the

Re: [DISCUSS] Change Flight ListFlights return value to stream of FlightDescriptor

2019-04-03 Thread ming zhang
imho, list just show what a service has. does not need to provide detail information about each one. we already have a separate method to fetch detail about a flight. optionally we could change GetFlightInfo(FlightDescriptor) returns (FlightGetInfo) {} to input a stream so someone could fetch a bat

doput without ticket?

2019-05-24 Thread ming zhang
hi wonder how to understand current doput() call. the doget() call pass the flightinfo as the parameter. does it makes sense to also pass flightinfo as part of the doput() call? thanks ming

Re: doput without ticket?

2019-06-03 Thread ming zhang
es sense for the DoGet RPC. > > Hope this helps > > Wes > > On Fri, May 24, 2019 at 8:18 PM ming zhang > wrote: > > > > hi > > > > wonder how to understand current doput() call. the doget() call pass the > > flightinfo as the parameter. does it makes sense to also pass flightinfo > as > > part of the doput() call? > > > > thanks > > ming >