lidavidm commented on code in PR #1594:
URL: https://github.com/apache/arrow-adbc/pull/1594#discussion_r1516631607


##########
go/adbc/driver/flightsql/flightsql_connection.go:
##########
@@ -64,10 +64,16 @@ func doGet(ctx context.Context, cl *flightsql.Client, 
endpoint *flight.FlightEnd
        }
 
        var (
-               cc interface{}
+               cc          interface{}
+               hasFallback bool
        )
 
        for _, loc := range endpoint.Location {
+               if loc.Uri == flight.LocationReuseConnection {
+                       hasFallback = true
+                       continue
+               }

Review Comment:
   What I'm doing is: first try everything except reuse-connection, then if all 
other alternatives fail, try the original service



-- 
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