Skip to content

Commit

Permalink
ESQL: Fix grammar changes around per agg filtering
Browse files Browse the repository at this point in the history
Remove dev flag left in grammar for agg filtering
Related to elastic#113735
  • Loading branch information
costin committed Oct 15, 2024
1 parent 6ec7a9a commit b1367aa
Show file tree
Hide file tree
Showing 6 changed files with 1,314 additions and 1,336 deletions.
2 changes: 1 addition & 1 deletion x-pack/plugin/esql/src/main/antlr/EsqlBaseLexer.g4
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ SLASH : '/';
PERCENT : '%';

MATCH : 'match';
NESTED_WHERE : {this.isDevVersion()}? WHERE -> type(WHERE);
NESTED_WHERE : WHERE -> type(WHERE);

NAMED_OR_POSITIONAL_PARAM
: PARAM (LETTER | UNDERSCORE) UNQUOTED_ID_BODY*
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugin/esql/src/main/antlr/EsqlBaseParser.g4
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ aggFields
;

aggField
: field {this.isDevVersion()}? (WHERE booleanExpression)?
: field (WHERE booleanExpression)?
;

qualifiedName
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit b1367aa

Please sign in to comment.