You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by "PakhomovAlexander (via GitHub)" <gi...@apache.org> on 2023/03/01 09:31:58 UTC
[GitHub] [ignite-3] PakhomovAlexander commented on a diff in pull request #1731: IGNITE-18674 Introduce async logic to CLI
PakhomovAlexander commented on code in PR #1731:
URL: https://github.com/apache/ignite-3/pull/1731#discussion_r1121408304
##########
modules/cli/src/main/java/org/apache/ignite/internal/cli/commands/sql/SqlCompleter.java:
##########
@@ -72,4 +73,9 @@ private static void addCandidate(String string, List<Candidate> candidates) {
candidates.add(new Candidate(string));
candidates.add(new Candidate(string.toLowerCase()));
}
+
+ public void initStateAsync() {
+ // trigger schema loading in background
+ CompletableFuture.supplyAsync(schemaProvider::getSchema);
Review Comment:
Probably yes
--
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: notifications-unsubscribe@ignite.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org