Skip to content

Commit f0d07d1

Browse files
committed
ESQL: Allow FIRST and LAST as method name
This modifies the ESQL grammar to allow FIRST and LAST as identifiers. We're going to make functions called that. Relates to #108385
1 parent 70f4e7c commit f0d07d1

File tree

4 files changed

+40
-36
lines changed

4 files changed

+40
-36
lines changed

x-pack/plugin/esql/src/main/antlr/EsqlBaseParser.g4

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ qualifiedNamePatterns
165165
identifier
166166
: UNQUOTED_IDENTIFIER
167167
| QUOTED_IDENTIFIER
168+
| FIRST
169+
| LAST
168170
;
169171

170172
identifierPattern

0 commit comments

Comments
 (0)