-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
ESQL: continue resolving attributes for Eval #99601
Conversation
Pinging @elastic/es-ql (Team:QL) |
Hi @astefan, I've created a changelog YAML for you. |
Pinging @elastic/elasticsearch-esql (:Query Languages/ES|QL) |
if (ua.customMessage()) { | ||
return ua; | ||
} |
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.
In essence, skip this part (quickly returning from resolving an Attribute) and let eval
have another chance at resolving expressions that use attributes from previous eval
expressions.
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.
Noice!
The code for attempting to resolve unresolved attributes was prematurely stopped when one attributes was deemed unresolvable disallowing chained evaluation expressions in the same
eval
command. This small change makes the attributes resolution continue until all expressions are visited.Fixes #99576