davidhcoe commented on PR #2651:
URL: https://github.com/apache/arrow-adbc/pull/2651#issuecomment-2798841821

   > > Just to add to this (and this could be a follow-on PR) - what happens if 
https://github.com/apache/arrow-adbc/blob/a187ead78afebe85c75b466a06ad6e01ae4ac8c6/go/adbc/driver/flightsql/flightsql_statement.go#L194C21-L194C25
 is part of a long running operation and the token expires? How does the token 
get refreshed and then continue the poll operation?
   > > By the way, this is a concern for all ADBC drivers in general, as we 
don't seem to have a standard way of failing "mid stream" and then "resume" the 
long running operation without starting it over.
   > 
   > Or if
   > 
   > 
https://github.com/apache/arrow-adbc/blob/a187ead78afebe85c75b466a06ad6e01ae4ac8c6/go/adbc/driver/flightsql/flightsql_statement.go#L77
   > 
   > runs long.
   
   And for context, https://github.com/apache/arrow-adbc/pull/2655 is making an 
attempt to demonstrate this capability for BigQuery in the .NET driver when 
using Entra authentication. The Databricks driver also needs to do this. 
Essentially, any OAuth protected data source could support this type of retry 
behavior.


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to