Skip to content

Commit

Permalink
[ES|QL] Update grammars (elastic#204333)
Browse files Browse the repository at this point in the history
This PR updates the ES|QL grammars (lexer and parser) to match the
latest version in Elasticsearch.
  • Loading branch information
kibanamachine authored Dec 16, 2024
1 parent 612ddaa commit 3e67455
Show file tree
Hide file tree
Showing 3 changed files with 543 additions and 521 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ regexBooleanExpression
;

matchBooleanExpression
: fieldExp=qualifiedName COLON queryString=constant
: fieldExp=qualifiedName (CAST_OP fieldType=dataType)? COLON matchQuery=constant
;

valueExpression
Expand Down
Loading

0 comments on commit 3e67455

Please sign in to comment.