zeroshade commented on code in PR #1594:
URL: https://github.com/apache/arrow-adbc/pull/1594#discussion_r1516634539
##########
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:
is that correct semantically? We don't want to maintain the order and have
it do the reuse-connection before moving on to further locations?
--
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]