Skip to content

Commit

Permalink
pick up main
Browse files Browse the repository at this point in the history
  • Loading branch information
fang-xing-esql committed Feb 24, 2025
1 parent 3f51012 commit b197801
Show file tree
Hide file tree
Showing 30 changed files with 7,518 additions and 7,424 deletions.
4 changes: 3 additions & 1 deletion x-pack/plugin/esql/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ tasks.register("regenLexer", JavaExec) {
'-package', 'org.elasticsearch.xpack.esql.parser',
'-listener',
'-visitor',
'-lib', "${file(grammarPath)}/lexer",
'-o', outputPath,
"${file(grammarPath)}/EsqlBaseLexer.g4"
}
Expand All @@ -222,8 +223,9 @@ tasks.register("regenParser", JavaExec) {
'-package', 'org.elasticsearch.xpack.esql.parser',
'-listener',
'-visitor',
'-o', outputPath,
'-lib', outputPath,
'-lib', "${file(grammarPath)}/parser",
'-o', outputPath,
"${file(grammarPath)}/EsqlBaseParser.g4"
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,8 @@ public void testNamedParamsForIdentifierAndIdentifierPatterns() throws IOExcepti
);
error = re.getMessage();
assertThat(error, containsString("ParsingException"));
assertThat(error, containsString("line 1:23: mismatched input '?cmd' expecting {'dissect', 'drop'"));
assertThat(error, containsString("line 1:23: mismatched input '?cmd' expecting {"));
assertThat(error, containsString("'dissect', 'eval', 'grok', 'limit', 'sort'"));
}
}

Expand Down
Loading

0 comments on commit b197801

Please sign in to comment.