Skip to content

Commit

Permalink
ESQL: Fix grammar changes around per agg filtering (elastic#114848)
Browse files Browse the repository at this point in the history
Remove dev flag left in grammar for agg filtering
Related to elastic#113735

(cherry picked from commit 5e59ab5)
  • Loading branch information
costin committed Oct 15, 2024
1 parent b96d3cb commit 516d424
Show file tree
Hide file tree
Showing 7 changed files with 1,319 additions and 1,336 deletions.
5 changes: 5 additions & 0 deletions docs/changelog/114848.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pr: 114848
summary: "ESQL: Fix grammar changes around per agg filtering"
area: ES|QL
type: bug
issues: []
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 516d424

Please sign in to comment.