Skip to content

Commit d4d26c5

Browse files
committed
Ensure cluster string could be quoted
Currently we accept "remote:index", remote:"index" but not "remote":"index" as a valid index pattern. This change fixes this.
1 parent 2ee7ca4 commit d4d26c5

File tree

5 files changed

+78
-7
lines changed

5 files changed

+78
-7
lines changed

x-pack/plugin/esql/src/main/antlr/EsqlBaseParser.g4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ indexPattern
143143

144144
clusterString
145145
: UNQUOTED_SOURCE
146+
| QUOTED_STRING
146147
;
147148

148149
indexString

0 commit comments

Comments
 (0)