Github user sudheeshkatkam commented on a diff in the pull request:
https://github.com/apache/drill/pull/527#discussion_r73767794
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/client/DrillClient.java ---
@@ -411,6 +420,98 @@ public void runQuery(QueryType type,
List<PlanFragment> planFragments, UserResul
}
/**
+ * Get the list of catalogs in <code>INFORMATION_SCHEMA.CATALOGS</code>
table satisfying the given filters.
+ *
+ * @param catalogNameFilter Filter on <code>catalog name</code>. Pass
null to apply no filter.
+ * @return
+ */
+ public DrillRpcFuture<GetCatalogsResp> getCatalogs(LikeFilter
catalogNameFilter) {
--- End diff --
`DrillRpcFuture` allows for cancellation (through `cancel(boolean
mayInterruptIfRunning)`). Do we ignore the cancellation?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---