Open vadimkibana opened 3 months ago
In the RENAME command we do not parse out the list of rename expressions:
RENAME
RenameCommand = "RENAME" RenameExpression ("," RenameExpression)* RenameExpression = Identifier "AS" Identifier
Which would have the AST:
{ type: 'command', name: 'rename', args: [ { type: 'rename' }, { type: 'rename' }, // ... ] }
{ type: 'rename' }
option
See more detailed discussion here: https://github.com/elastic/kibana/discussions/182393#discussioncomment-10313313
Pinging @elastic/kibana-esql (Team:ESQL)
In the
RENAME
command we do not parse out the list of rename expressions:Which would have the AST:
{ type: 'rename' }
.RENAME
command produce a list of RenameExpression default arguments (notoption
arguments).See more detailed discussion here: https://github.com/elastic/kibana/discussions/182393#discussioncomment-10313313