Skip to content

Commit 2b0c91b

Browse files
committed
Remove dev feature guard from ESQL antlr files
1 parent 40fe4c0 commit 2b0c91b

File tree

6 files changed

+1687
-1709
lines changed

6 files changed

+1687
-1709
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
@@ -100,7 +100,7 @@ indexPatternAndMetadataFields:
100100

101101
indexPattern
102102
: (clusterString COLON)? indexString
103-
| {this.isDevVersion()}? indexString (CAST_OP selectorString)?
103+
| indexString (CAST_OP selectorString)?
104104
;
105105

106106
clusterString

x-pack/plugin/esql/src/main/antlr/lexer/From.g4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ FROM_PIPE : PIPE -> type(PIPE), popMode;
1818
FROM_OPENING_BRACKET : OPENING_BRACKET -> type(OPENING_BRACKET);
1919
FROM_CLOSING_BRACKET : CLOSING_BRACKET -> type(CLOSING_BRACKET);
2020
FROM_COLON : COLON -> type(COLON);
21-
FROM_SELECTOR : {this.isDevVersion()}? CAST_OP -> type(CAST_OP);
21+
FROM_SELECTOR : CAST_OP -> type(CAST_OP);
2222
FROM_COMMA : COMMA -> type(COMMA);
2323
FROM_ASSIGN : ASSIGN -> type(ASSIGN);
2424
METADATA : 'metadata';

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

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)