-
Notifications
You must be signed in to change notification settings - Fork 25.2k
ES|QL: columns not projected away despite KEEP #126026
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
Comments
Pinging @elastic/es-analytical-engine (Team:Analytics) |
Here is a simplified query to reproduce this issue.
However, I came across another query that doesn't seem to produce the correct result. I'm unsure whether it was triggered by the same cause.
|
After conducting some research, I have concluded that the queries mentioned above are unrelated and I believe the second query deserves a separate issue #126392. |
For this query
After the optimizer rules |
foo
shouldn't be there.Interestingly, if you try to use the wrong column, the query will fail:
The text was updated successfully, but these errors were encountered: