-
Notifications
You must be signed in to change notification settings - Fork 25.5k
ES|QL: refactor query generator and move it to testFixtures #134696
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: refactor query generator and move it to testFixtures #134696
Conversation
Pinging @elastic/es-analytical-engine (Team:Analytics) |
package org.elasticsearch.xpack.esql.generator; | ||
|
||
public interface QueryExecutor { | ||
QueryExecuted execute(String command, int depth); |
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.
Some javadoc here could be nice. At least for that "depth", which I'm not sure what it is (From looking at this interface alone)
Waiting for #133804 to be merged first, to avoid conflicts. |
@luigidellaquila I've merged in #133804, thank you for waiting! |
…res' into esql/generator_to_fixtures
Thanks for letting me know @limotova! |
Refactoring the ES|QL query generator (decoupling it from
GenerativeRestTest
) and moving it to textFixtures submodule, so that we can reuse it in other contexts