-
Notifications
You must be signed in to change notification settings - Fork 25.6k
ES|QL: enable generative tests #126097
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: enable generative tests #126097
Conversation
|
Pinging @elastic/es-analytical-engine (Team:Analytics) |
| result.append(randomName(previousOutput)); | ||
| String fieldName = randomRawName(previousOutput); | ||
| if (fieldName.isEmpty()) { // it's a bug, managed later, skipping for now | ||
| randomAlphaOfLength(5); |
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.
Should this assign to a fieldName?
If so consider using randomIdentifier() instead.
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.
Aaahhh, automerged too quickly...
Yeah, it should assign to fieldName
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.
quick fix here #126107
Trying to enable tests that generate random queries.
Only single node for now. If it's not too noisy we'll also have to enable it in multi-node.