CurtHagenlocher commented on issue #4231: URL: https://github.com/apache/arrow-adbc/issues/4231#issuecomment-4255130353
> The handler doesn't have the connection itself, so how would it call `ConnectionSetOption`? I originally had the connection in the signature and wavered between that and assuming the caller would stash it in `user_data`. > Isn't it sufficient to just update the credentials and open a new connection in that scenario? (which is what the driver would have to do internally anyways). Consider the case where the query has finished running and the driver is now fetching the results from cloud storage. If the results are large enough, simply reading them could take longer than the lifetime of the previous token. You'd want to keep fetching without opening a new connection. -- 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]
