Skip to content

Commit 208cea6

Browse files
committed
Disallow cluster strings when used with selector strings
1 parent d69ea04 commit 208cea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ fromCommand
140140

141141
indexPattern
142142
: (clusterString COLON)? indexString
143-
| {this.isDevVersion()}? (clusterString COLON)? indexString (CAST_OP selectorString)?
143+
| {this.isDevVersion()}? indexString (CAST_OP selectorString)?
144144
;
145145

146146
clusterString

0 commit comments

Comments
 (0)