Skip to content

Commit 1400cd3

Browse files
authored
ES|QL: Change FUSE KEY BY to receive a list of qualifiedName (elastic#139071)
1 parent a921d60 commit 1400cd3

File tree

10 files changed

+1449
-1323
lines changed

10 files changed

+1449
-1323
lines changed

docs/changelog/139071.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 139071
2+
summary: Change FUSE KEY BY to receive a list of `qualifiedName`
3+
area: ES|QL
4+
type: bug
5+
issues: []

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,11 +347,15 @@ fuseCommand
347347

348348
fuseConfiguration
349349
: SCORE BY score=qualifiedName
350-
| KEY BY key=fields
350+
| KEY BY key=fuseKeyByFields
351351
| GROUP BY group=qualifiedName
352352
| WITH options=mapExpression
353353
;
354354

355+
fuseKeyByFields
356+
: qualifiedName (COMMA qualifiedName)*
357+
;
358+
355359
//
356360
// In development
357361
//

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlBaseParser.interp

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)