tokoko commented on code in PR #572:
URL: https://github.com/apache/arrow-adbc/pull/572#discussion_r1174483988
##########
java/driver/flight-sql/src/main/java/org/apache/arrow/adbc/driver/flightsql/FlightSqlConnection.java:
##########
@@ -62,7 +74,51 @@ public class FlightSqlConnection implements AdbcConnection {
throw new RuntimeException(e);
}
})
- .build(location -> FlightClient.builder(allocator,
location).build());
+ .build(
+ loc -> {
+ FlightClient flightClient =
+ FlightClient.builder(allocator, loc)
+ .intercept(
+ new FlightClientMiddleware.Factory() {
Review Comment:
That would make Factory a doubly nested inner class, probably best if I
split it into an entirely separate file.
--
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]