aiguofer commented on code in PR #38521:
URL: https://github.com/apache/arrow/pull/38521#discussion_r1382091835
##########
java/flight/flight-sql-jdbc-core/src/main/java/org/apache/arrow/driver/jdbc/client/ArrowFlightSqlClientHandler.java:
##########
@@ -364,6 +415,31 @@ public static final class Builder {
private boolean useSystemTrustStore;
private BufferAllocator allocator;
+ public Builder() {
+
+ }
+
+ /**
+ * Copies the builder.
+ *
+ * @param original The builder to base this copy off of.
+ */
+ private Builder(Builder original) {
+ this.middlewareFactories.addAll(original.middlewareFactories);
Review Comment:
I just want to verify, this would ensure the CookiesMiddleware gets copied
over for the Endpoint clients, correct?
--
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]