Skip to content

Commit 7ec5b41

Browse files
authored
ESQL: Allow FIRST and LAST as method name (#132469)
This modifies the ESQL grammar to allow FIRST and LAST as method names. We're going to make functions called that. Relates to #108385
1 parent a1c2012 commit 7ec5b41

File tree

4 files changed

+395
-347
lines changed

4 files changed

+395
-347
lines changed

x-pack/plugin/esql/src/main/antlr/parser/Expression.g4

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ functionExpression
5454

5555
functionName
5656
: identifierOrParameter
57+
| FIRST
58+
| LAST
5759
;
5860

5961
mapExpression

0 commit comments

Comments
 (0)