Skip to content

Commit 080e82e

Browse files
Fix FROM
1 parent 448ebc4 commit 080e82e

File tree

4 files changed

+1094
-1109
lines changed

4 files changed

+1094
-1109
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ FROM_COMMA : COMMA -> type(COMMA);
2323
FROM_ASSIGN : ASSIGN -> type(ASSIGN);
2424
METADATA : 'metadata';
2525

26+
// we need this for EXPLAIN
27+
FROM_RP : RP -> type(RP), popMode;
28+
2629
// in 8.14 ` were not allowed
2730
// this has been relaxed in 8.15 since " is used for quoting
2831
fragment UNQUOTED_SOURCE_PART

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

Lines changed: 2 additions & 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)