-
Notifications
You must be signed in to change notification settings - Fork 25.6k
ES|QL: Resolve Keep plan added to FORK branches #129754
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
Conversation
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.
LGTM
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.
good catch, LGTM
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.
LGTM, thanks @ioanatia !
|
Pinging @elastic/es-analytical-engine (Team:Analytics) |
#121950
fixes #129715
In order to align the output of FORK branches, we always add an explicit Keep plan at end of each branch.
However, we never actually resolve the KEEP plans we are adding.
KEEP can be unresolved in case it contains columns with unsupported or conflicting types.
Then we end up skipping validations in the verifier because the KEEP is unresolved:
elasticsearch/x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/Verifier.java
Lines 109 to 113 in b2acda9