Skip to content

Commit 1c16761

Browse files
committed
that's it
1 parent 7684375 commit 1c16761

File tree

9 files changed

+816
-816
lines changed

9 files changed

+816
-816
lines changed

x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/RestEsqlTestCase.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,8 @@ public void testNamedParamsForIdentifierAndIdentifierPatterns() throws IOExcepti
764764
);
765765
error = re.getMessage();
766766
assertThat(error, containsString("ParsingException"));
767-
assertThat(error, containsString("line 1:23: mismatched input '?cmd' expecting {'dissect', 'drop'"));
767+
assertThat(error, containsString("line 1:23: mismatched input '?cmd' expecting {"));
768+
assertThat(error, containsString("'dissect', 'eval', 'grok', 'limit', 'sort'"));
768769
}
769770
}
770771

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ options {
5454
* the UNKNOWN_CMD token *last* because it takes over parsing for
5555
* all other commands.
5656
*/
57-
import Enrich,
58-
ChangePoint, // TODO figure out why Enrich has to be first.
57+
import ChangePoint,
58+
Enrich,
5959
Explain,
6060
Expression,
6161
From,

x-pack/plugin/esql/src/main/antlr/EsqlBaseLexer.tokens

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* 2.0; you may not use this file except in compliance with the Elastic License
55
* 2.0.
66
*/
7-
lexer grammar Enrich;
7+
lexer grammar ChangePoint;
88

99
//
1010
// | CHANGE_POINT command

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

Lines changed: 20 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 685 additions & 686 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

Lines changed: 56 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)