Skip to content

Commit b6339e7

Browse files
Apply suggestions from code review
Co-authored-by: Alexander Spies <[email protected]>
1 parent 8f9f519 commit b6339e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/IdentifierBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ protected static void validateClusterString(String clusterString, EsqlBaseParser
132132
/**
133133
* Takes the parsed constituent strings and validates them.
134134
* @param clusterString Name of the remote cluster. Can be null.
135-
* @param indexPattern Name of the index.
135+
* @param indexPattern Name of the index or pattern; can also have multiple patterns in case of quoting, e.g. {@code FROM """index*,-index1"""}.
136136
* @param selectorString Selector string, i.e. "::data" or "::failures". Can be null.
137137
* @param ctx Index Pattern Context for generating error messages with offsets.
138138
* @param hasSeenStar If we've seen an asterisk so far.
@@ -189,7 +189,7 @@ private static void validate(
189189

190190
/**
191191
* Validates the constituent strings. Will extract the cluster string and/or selector string from the index
192-
* name if clubbed together.
192+
* name if clubbed together inside a quoted string.
193193
*
194194
* @param clusterString Name of the remote cluster. Can be null.
195195
* @param indexName Name of the index.

0 commit comments

Comments
 (0)