-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ES|QL] Add AST helper for finding functions #188212
Conversation
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
Pinging @elastic/kibana-esql (Team:ESQL) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cute
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Page load bundle
|
Summary
The ES|QL
METRICS
command support work is currently on pause, as its syntax in ES will likely change. Meanwhile this PR extracts an AST helper added in this paused PR which allows to find function in an AST subtree.Walker.fincFunction
Walker.hasFunction
Checklist
Delete any items that are not applicable to this PR.
For maintainers