-
Notifications
You must be signed in to change notification settings - Fork 25.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: problems with TopN #126030
Comments
Pinging @elastic/es-analytical-engine (Team:Analytics) |
Pulling main branch I don't seem to be able to reproduce the first problem anymore. Recent fix or slightly different data set? The second one is still there
|
I just pulled main and it still repro's for me. Neither errors occur with #125764. I'm going to include these as test cases in the PR. |
Was able to condense/change this to
While condensing, I realized that the failure is not fully deterministic. Sometimes it fails with a 500 in TopN, sometimes with a 400 due to IAE from an unexpected data type. Sometimes it even passes. For the query from above, I've only seen 400s. |
I just confirmed that the problem was not fixed by, and pre-existed #125636. Before that, running the query from above resulted in an NPE.
@costin , this means we should backport #125764 as far back as possible, given that we had NPEs in simple ENRICH queries, even. Thanks again for generating this test case @luigidellaquila , this is gold. |
Bleh, that doesn't reproduce deterministically after restarting the cluster. |
This seems to repro reliably:
|
Ok, got something more managable that still reproduces the problem, like, 50% of the times:
The trick is to include as many indices as possible which do not have the
|
I just checked 8.16.0 and 8.16.last and the query from above also results in a 500 caused by the known NPE: |
With the CSV dataset
Same query, but without KEEP
The text was updated successfully, but these errors were encountered: