lidavidm opened a new issue, #37524:
URL: https://github.com/apache/arrow/issues/37524

   ### Describe the enhancement requested
   
   From 
https://docs.google.com/document/d/1jhPyPZSOo2iy0LqIJVUs9KWPyFULVFJXTILDfkadx2g/edit#heading=h.h2ein4otvhtq
   
   > I imagine that certain clients implement, and prefer, getFlightInfo, and 
some will implement, and prefer, pollFlightInfo.  Suppose I am using ADBC--is 
the idea to change it to always use the polling methods, since by default they 
seem to delegate to getFlightInfo if no polling method has been provided by the 
server?
   
   > I haven't gotten to the implementation yet but the idea would be to try 
polling and fall back to the blocking call.
   
   ---
   
   > Or perhaps just document that the GetSchema way to generate a new flight 
is not suitable for long-running queries?
   
   > GetSchema doesn't generate a FlightInfo, so I think it's OK to be 
blocking. If it actually has to do work/execute the query to get the schema, it 
might be better for the server return NOT_IMPLEMENTED instead. Or, a client 
could execute the query with PollFlightInfo and get the schema there (and 
cancel the query once it has the schema).
   
   ---
   
   We may also want to take the chance to add any additional diagrams or prose 
for existing features of Flight that weren't originally well-described.
   
   ### Component(s)
   
   Documentation, FlightRPC


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to