stevelorddremio commented on code in PR #42035:
URL: https://github.com/apache/arrow/pull/42035#discussion_r1636829869
##########
java/flight/flight-sql-jdbc-core/src/main/java/org/apache/arrow/driver/jdbc/client/ArrowFlightSqlClientHandler.java:
##########
@@ -761,6 +812,16 @@ public Builder withCallOptions(final
Collection<CallOption> options) {
return this;
}
+ /**
+ * Sets the catalog for this handler.
+ * @param catalog the catalog
+ * @return this instance.
+ */
+ public Builder withCatalog(final String catalog) {
+ this.catalog = catalog;
Review Comment:
Haha, yes. Hopefully the accepted values are clear now, but Optional might
be overkill.
Yes a system having an unnamed default catalog is a reasonable use-case.
--
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]