Skip to content

Commit e5254ec

Browse files
committed
update comment
1 parent 444217d commit e5254ec

File tree

1 file changed

+1
-1
lines changed
  • x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session

1 file changed

+1
-1
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session/EsqlSession.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ private void preAnalyzeMainIndices(
694694
);
695695
if (preAnalysis.indexPattern() != null) {
696696
if (executionInfo.clusterAliases().isEmpty()) {
697-
// if this was a pure remote CCS request (no local indices) and all remotes are offline, return an empty IndexResolution
697+
// return empty resolution if the expression is pure CCS and resolved no remote clusters (like no-such-cluster*:index)
698698
listener.onResponse(
699699
result.withIndices(IndexResolution.valid(new EsIndex(preAnalysis.indexPattern().indexPattern(), Map.of(), Map.of())))
700700
);

0 commit comments

Comments
 (0)